Masyvo užklausos 2
- [1] 2018-11-03 15:56 (30)
- [2] 2018-11-03 16:03 (100)
- [3] 2019-07-09 12:44 (100)
Taškai: 100
Compile: OK
segment_tree_2.cpp: In function ‘int main()’: segment_tree_2.cpp:71:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &N, &Q); ^ segment_tree_2.cpp:73:43: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld", &numbers[i]); ^ segment_tree_2.cpp:78:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf(" %c", &ch); ^ segment_tree_2.cpp:81:42: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &pos); ^ segment_tree_2.cpp:87:55: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%lld", &left, &right, &val); ^
nr. | result | time | message |
---|---|---|---|
1 | True | 0.016 s | ok |
2 | True | 0.024 s | ok |
3 | True | 0.024 s | ok |
4 | True | 0.024 s | ok |
5 | True | 0.024 s | ok |
6 | True | 0.024 s | ok |
7 | True | 0.024 s | ok |
8 | True | 0.024 s | ok |
9 | True | 0.028 s | ok |
10 | True | 0.024 s | ok |
11 | True | 0.284 s | ok |
12 | True | 0.216 s | ok |
13 | True | 0.296 s | ok |
14 | True | 0.228 s | ok |
15 | True | 0.048 s | ok |
16 | True | 0.244 s | ok |
17 | True | 0.524 s | ok |
18 | True | 0.364 s | ok |
19 | True | 0.152 s | ok |
20 | True | 0.316 s | ok |
21 | True | 0.132 s | ok |
22 | True | 0.296 s | ok |
23 | True | 0.296 s | ok |
24 | True | 0.144 s | ok |
25 | True | 0.116 s | ok |
26 | True | 0.324 s | ok |
27 | True | 0.048 s | ok |
28 | True | 0.284 s | ok |
29 | True | 0.24 s | ok |
30 | True | 0.144 s | ok |