Užklausos

Taškai: 100

Compile: OK

uzklausos445.cpp: In function ‘int main()’: uzklausos445.cpp:32:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf(" %d %d %d", &n, &q, &m); ^ uzklausos445.cpp:33:45: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] for(int i=1; i<=n; i++) scanf(" %d", &a[i]); ^ uzklausos445.cpp:34:64: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] for(int i=0; i<q; i++) scanf(" %d %d %d", &t[i], &l[i], &r[i]); ^ uzklausos445.cpp:37:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf(" %d", &cur); ^

nr.resulttimemessage
1True0.0 sok
2True0.0 sok
3True0.0 sok
4True0.004 sok
5True0.0 sok
6True0.0 sok
7True0.0 sok
8True0.0 sok
9True0.0 sok
10True0.004 sok
11True0.0 sok
12True0.004 sok
13True0.004 sok
14True0.004 sok
15True0.0 sok
16True0.004 sok
17True0.004 sok
18True0.008 sok
19True0.008 sok
20True0.008 sok
21True0.06 sok
22True0.064 sok
23True0.064 sok
24True0.068 sok
25True0.072 sok
26True0.2 sok
27True0.176 sok
28True0.196 sok
29True0.212 sok
30True0.344 sok