Masyvo Užklausos 1

Taškai: 100

Compile: OK

masyvo_uzklausos123.cpp: In function ‘int main()’: masyvo_uzklausos123.cpp:43:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ masyvo_uzklausos123.cpp:46: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:49: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: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.04 sok
2True0.04 sok
3True0.04 sok
4True0.04 sok
5True0.044 sok
6True0.04 sok
7True0.04 sok
8True0.04 sok
9True0.044 sok
10True0.04 sok
11True0.044 sok
12True0.044 sok
13True0.04 sok
14True0.044 sok
15True0.04 sok
16True0.044 sok
17True0.044 sok
18True0.044 sok
19True0.044 sok
20True0.044 sok
21True0.08 sok
22True0.072 sok
23True0.072 sok
24True0.076 sok
25True0.076 sok
26True0.176 sok
27True0.244 sok
28True0.268 sok
29True0.204 sok
30True0.616 sok