Užklausos
- [1] 2019-02-25 12:37 (100)
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. | result | time | message |
---|---|---|---|
1 | True | 0.0 s | ok |
2 | True | 0.0 s | ok |
3 | True | 0.0 s | ok |
4 | True | 0.004 s | ok |
5 | True | 0.0 s | ok |
6 | True | 0.0 s | ok |
7 | True | 0.0 s | ok |
8 | True | 0.0 s | ok |
9 | True | 0.0 s | ok |
10 | True | 0.004 s | ok |
11 | True | 0.0 s | ok |
12 | True | 0.004 s | ok |
13 | True | 0.004 s | ok |
14 | True | 0.004 s | ok |
15 | True | 0.0 s | ok |
16 | True | 0.004 s | ok |
17 | True | 0.004 s | ok |
18 | True | 0.008 s | ok |
19 | True | 0.008 s | ok |
20 | True | 0.008 s | ok |
21 | True | 0.06 s | ok |
22 | True | 0.064 s | ok |
23 | True | 0.064 s | ok |
24 | True | 0.068 s | ok |
25 | True | 0.072 s | ok |
26 | True | 0.2 s | ok |
27 | True | 0.176 s | ok |
28 | True | 0.196 s | ok |
29 | True | 0.212 s | ok |
30 | True | 0.344 s | ok |