Masyvo Užklausos 1

Taškai: 96.7

Compile: OK

masyvo_uzklausos123.cpp: In function ‘int main()’: masyvo_uzklausos123.cpp:46:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ masyvo_uzklausos123.cpp:49:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &a[i]); ^ masyvo_uzklausos123.cpp:52:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &m); ^ masyvo_uzklausos123.cpp:56:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &l, &r); ^

nr.resulttimemessage
1True0.04 sok
2True0.044 sok
3True0.04 sok
4True0.048 sok
5True0.04 sok
6True0.044 sok
7True0.044 sok
8True0.072 sok
9True0.048 sok
10True0.04 sok
11True0.04 sok
12True0.04 sok
13True0.04 sok
14True0.052 sok
15True0.064 sok
16True0.084 sok
17True0.084 sok
18True0.048 sok
19True0.08 sok
20True0.088 sok
21True0.1 sok
22True0.1 sok
23True0.168 sok
24True0.108 sok
25True0.116 sok
26True0.592 sok
27True0.688 sok
28True0.668 sok
29True0.696 sok
30False1.084 sTime limit exceeded (wall clock)