Masyvo Užklausos 2

Taškai: 96.7

Compile: OK

masyvo_uzklausos1234.cpp: In function ‘int main()’: masyvo_uzklausos1234.cpp:39:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &n, &m); ^ masyvo_uzklausos1234.cpp:42:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld", &a[i]); ^ masyvo_uzklausos1234.cpp:47: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.016 sok
2True0.016 sok
3True0.016 sok
4True0.016 sok
5True0.016 sok
6True0.016 sok
7True0.016 sok
8True0.02 sok
9True0.016 sok
10True0.016 sok
11True0.016 sok
12True0.016 sok
13True0.016 sok
14True0.016 sok
15True0.016 sok
16True0.02 sok
17True0.02 sok
18True0.02 sok
19True0.024 sok
20True0.024 sok
21True0.112 sok
22True0.116 sok
23True0.12 sok
24True0.128 sok
25True0.132 sok
26True0.428 sok
27True0.44 sok
28True0.46 sok
29True0.476 sok
30False1.072 sTime limit exceeded (wall clock)