Masyvo Užklausos 2
- [1] 2019-04-13 13:11 (0)
- [2] 2019-04-13 13:13 (0)
- [3] 2019-04-13 13:22 (0)
- [4] 2019-04-13 13:32 (96.7)
- [5] 2019-04-13 13:35 (96.7)
- [6] 2019-04-13 13:35 (96.7)
- [7] 2019-04-13 13:36 (96.7)
- [8] 2019-04-13 13:36 (96.7)
- [9] 2019-04-13 13:37 (96.7)
- [10] 2019-04-13 13:39 (96.7)
- [11] 2019-04-13 13:39 (96.7)
- [12] 2019-04-13 13:39 (96.7)
- [13] 2019-04-13 13:43 (96.7)
- [14] 2019-04-13 13:43 (96.7)
- [15] 2019-04-13 13:44 (96.7)
- [16] 2019-04-13 13:45 (96.7)
- [17] 2019-04-13 13:46 (96.7)
- [18] 2019-04-13 13:46 (96.7)
- [19] 2019-04-13 13:47 (96.7)
- [20] 2019-04-13 13:48 (100)
- [21] 2019-04-13 13:48 (100)
- [22] 2019-04-13 13:55 (100)
- [23] 2019-06-20 11:44 (83.3)
- [24] 2019-06-20 11:45 (83.3)
Taškai: 83.3
Compile: OK
masyvo_uzklausos1234.cpp: In function ‘int main()’: masyvo_uzklausos1234.cpp:71:41: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘__gnu_cxx::__alloc_traits<std::allocator<long long int> >::value_type {aka long long int}’ [-Wformat=] printf("%I64d\n", ans[i]); ^ masyvo_uzklausos1234.cpp:38:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &n, &q); ^ masyvo_uzklausos1234.cpp:40:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &a[i]); ^ masyvo_uzklausos1234.cpp:46:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &l, &r); ^
nr. | result | time | message |
---|---|---|---|
1 | True | 0.024 s | ok |
2 | True | 0.024 s | ok |
3 | True | 0.02 s | ok |
4 | True | 0.024 s | ok |
5 | True | 0.024 s | ok |
6 | True | 0.02 s | ok |
7 | True | 0.02 s | ok |
8 | True | 0.024 s | ok |
9 | True | 0.02 s | ok |
10 | True | 0.02 s | ok |
11 | True | 0.02 s | ok |
12 | True | 0.02 s | ok |
13 | True | 0.02 s | ok |
14 | True | 0.024 s | ok |
15 | True | 0.02 s | ok |
16 | True | 0.032 s | ok |
17 | True | 0.032 s | ok |
18 | True | 0.032 s | ok |
19 | True | 0.032 s | ok |
20 | True | 0.036 s | ok |
21 | True | 0.132 s | ok |
22 | True | 0.164 s | ok |
23 | True | 0.172 s | ok |
24 | True | 0.18 s | ok |
25 | True | 0.192 s | ok |
26 | False | 0.44 s | Neteisinga eilutė |
27 | False | 0.524 s | Neteisinga eilutė |
28 | False | 0.456 s | Neteisinga eilutė |
29 | False | 0.404 s | Neteisinga eilutė |
30 | False | 1.192 s | Neteisinga eilutė |