Masyvo Užklausos 2

Taškai: 100

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.012 sok
2True0.024 sok
3True0.028 sok
4True0.028 sok
5True0.024 sok
6True0.028 sok
7True0.028 sok
8True0.02 sok
9True0.028 sok
10True0.012 sok
11True0.016 sok
12True0.012 sok
13True0.012 sok
14True0.012 sok
15True0.028 sok
16True0.032 sok
17True0.016 sok
18True0.028 sok
19True0.032 sok
20True0.032 sok
21True0.1 sok
22True0.084 sok
23True0.064 sok
24True0.104 sok
25True0.092 sok
26True0.316 sok
27True0.404 sok
28True0.368 sok
29True0.4 sok
30True1.324 sok