Masyvo Užklausos 1

Taškai: 26.7

Compile: OK

masyvo_uzklausos123.cpp: In function ‘int main()’: masyvo_uzklausos123.cpp:44:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ masyvo_uzklausos123.cpp:47: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:50:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &m); ^ masyvo_uzklausos123.cpp:53: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.044 sok
2True0.048 sok
3True0.052 sok
4True0.076 sok
5True0.08 sok
6True0.076 sok
7True0.044 sok
8True0.06 sok
9False0.076 sCaught fatal signal 11
10False0.076 sCaught fatal signal 11
11False0.072 sCaught fatal signal 11
12False0.044 sCaught fatal signal 11
13False0.048 sCaught fatal signal 11
14False0.06 sCaught fatal signal 11
15False0.052 sCaught fatal signal 11
16False0.044 sCaught fatal signal 11
17False0.048 sCaught fatal signal 11
18False0.076 sCaught fatal signal 11
19False0.076 sCaught fatal signal 11
20False0.06 sCaught fatal signal 11
21False0.064 sCaught fatal signal 11
22False0.072 sCaught fatal signal 11
23False0.084 sCaught fatal signal 11
24False0.08 sCaught fatal signal 11
25False0.092 sCaught fatal signal 11
26False0.128 sCaught fatal signal 11
27False0.128 sCaught fatal signal 11
28False0.12 sCaught fatal signal 11
29False0.128 sCaught fatal signal 11
30False0.224 sCaught fatal signal 11