Masyvo Užklausos 1

Taškai: 26.7

Compile: OK

masyvo_uzklausos123.cpp: In function ‘int main()’: masyvo_uzklausos123.cpp:21:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ masyvo_uzklausos123.cpp:25: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:28:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &m); ^ masyvo_uzklausos123.cpp:31:69: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &queries[i].first, &queries[i].second); ^

nr.resulttimemessage
1True0.068 sok
2True0.076 sok
3True0.04 sok
4True0.052 sok
5True0.068 sok
6True0.068 sok
7True0.06 sok
8True0.068 sok
9False0.004 sCaught fatal signal 11
10False0.0 sCaught fatal signal 11
11False0.0 sCaught fatal signal 11
12False0.0 sCaught fatal signal 11
13False0.0 sCaught fatal signal 11
14False0.0 sCaught fatal signal 11
15False0.0 sCaught fatal signal 11
16False0.004 sCaught fatal signal 11
17False0.004 sCaught fatal signal 11
18False0.004 sCaught fatal signal 11
19False0.004 sCaught fatal signal 11
20False0.004 sCaught fatal signal 11
21False0.012 sCaught fatal signal 11
22False0.012 sCaught fatal signal 11
23False0.012 sCaught fatal signal 11
24False0.016 sCaught fatal signal 11
25False0.012 sCaught fatal signal 11
26False0.04 sCaught fatal signal 11
27False0.04 sCaught fatal signal 11
28False0.032 sCaught fatal signal 11
29False0.044 sCaught fatal signal 11
30False0.096 sCaught fatal signal 11