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: 30
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.024 s | ok |
2 | True | 0.028 s | ok |
3 | True | 0.024 s | ok |
4 | False | 0.024 s | Neteisinga eilutė |
5 | True | 0.028 s | ok |
6 | True | 0.024 s | ok |
7 | True | 0.024 s | ok |
8 | True | 0.012 s | ok |
9 | True | 0.012 s | ok |
10 | True | 0.012 s | ok |
11 | False | 0.2 s | Neteisinga eilutė |
12 | False | 0.128 s | Neteisinga eilutė |
13 | False | 0.228 s | Neteisinga eilutė |
14 | False | 0.176 s | Neteisinga eilutė |
15 | False | 0.048 s | Neteisinga eilutė |
16 | False | 0.272 s | Neteisinga eilutė |
17 | False | 0.484 s | Neteisinga eilutė |
18 | False | 0.392 s | Neteisinga eilutė |
19 | False | 0.14 s | Neteisinga eilutė |
20 | False | 0.324 s | Neteisinga eilutė |
21 | False | 0.084 s | Neteisinga eilutė |
22 | False | 0.36 s | Neteisinga eilutė |
23 | False | 0.256 s | Neteisinga eilutė |
24 | False | 0.136 s | Neteisinga eilutė |
25 | False | 0.18 s | Neteisinga eilutė |
26 | False | 0.304 s | Neteisinga eilutė |
27 | False | 0.052 s | Neteisinga eilutė |
28 | False | 0.32 s | Neteisinga eilutė |
29 | False | 0.304 s | Neteisinga eilutė |
30 | False | 0.184 s | Neteisinga eilutė |