Masyvo Užklausos 1

Taškai: 100

Compile: OK

masyvo_uzklausos123.cpp: In function ‘int main()’: masyvo_uzklausos123.cpp:42:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf(" %d", &n); ^ masyvo_uzklausos123.cpp:44:22: 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:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] int q; scanf(" %d", &q); ^ masyvo_uzklausos123.cpp:55:26: 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.028 sok
2True0.048 sok
3True0.052 sok
4True0.052 sok
5True0.048 sok
6True0.052 sok
7True0.052 sok
8True0.052 sok
9True0.052 sok
10True0.052 sok
11True0.052 sok
12True0.052 sok
13True0.028 sok
14True0.032 sok
15True0.048 sok
16True0.056 sok
17True0.056 sok
18True0.084 sok
19True0.056 sok
20True0.06 sok
21True0.072 sok
22True0.092 sok
23True0.064 sok
24True0.1 sok
25True0.1 sok
26True0.192 sok
27True0.188 sok
28True0.248 sok
29True0.22 sok
30True0.496 sok