Masyvo užklausos 3
- [1] 2018-11-03 16:05 (100)
Taškai: 100
Compile: OK
segment_tree_3.cpp: In function ‘int main()’: segment_tree_3.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_3.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_3.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_3.cpp:81:53: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &left, &right); ^ segment_tree_3.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.028 s | ok |
2 | True | 0.032 s | ok |
3 | True | 0.032 s | ok |
4 | True | 0.04 s | ok |
5 | True | 0.028 s | ok |
6 | True | 0.032 s | ok |
7 | True | 0.036 s | ok |
8 | True | 0.032 s | ok |
9 | True | 0.032 s | ok |
10 | True | 0.036 s | ok |
11 | True | 0.264 s | ok |
12 | True | 0.152 s | ok |
13 | True | 0.236 s | ok |
14 | True | 0.24 s | ok |
15 | True | 0.264 s | ok |
16 | True | 0.18 s | ok |
17 | True | 0.16 s | ok |
18 | True | 0.176 s | ok |
19 | True | 0.268 s | ok |
20 | True | 0.128 s | ok |
21 | True | 0.148 s | ok |
22 | True | 0.06 s | ok |
23 | True | 0.164 s | ok |
24 | True | 0.192 s | ok |
25 | True | 0.044 s | ok |
26 | True | 0.2 s | ok |
27 | True | 0.236 s | ok |
28 | True | 0.08 s | ok |
29 | True | 0.256 s | ok |
30 | True | 0.188 s | ok |