Masyvo Užklausos 1

Taškai: 100

Compile: OK

masyvo_uzklausos123.cpp: In function ‘int main()’: masyvo_uzklausos123.cpp:39:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ masyvo_uzklausos123.cpp:42: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:45:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &m); ^ masyvo_uzklausos123.cpp:49: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.008 sok
2True0.008 sok
3True0.008 sok
4True0.008 sok
5True0.008 sok
6True0.008 sok
7True0.008 sok
8True0.008 sok
9True0.008 sok
10True0.008 sok
11True0.008 sok
12True0.008 sok
13True0.008 sok
14True0.008 sok
15True0.008 sok
16True0.012 sok
17True0.008 sok
18True0.012 sok
19True0.012 sok
20True0.012 sok
21True0.04 sok
22True0.052 sok
23True0.028 sok
24True0.032 sok
25True0.052 sok
26True0.12 sok
27True0.156 sok
28True0.16 sok
29True0.18 sok
30True0.336 sok