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: 0
Compile: OK
masyvo_uzklausos1234.cpp: In function ‘int main()’: masyvo_uzklausos1234.cpp:42:34: 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=] scanf("%d", &a[i]); ^ masyvo_uzklausos1234.cpp:71:38: 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("%d\n", ans[i]); ^ masyvo_uzklausos1234.cpp:39:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &n, &m); ^ masyvo_uzklausos1234.cpp:42: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:47: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 | False | 0.016 s | Neteisinga eilutė |
2 | False | 0.028 s | Neteisinga eilutė |
3 | False | 0.028 s | Neteisinga eilutė |
4 | False | 0.028 s | Neteisinga eilutė |
5 | False | 0.028 s | Neteisinga eilutė |
6 | False | 0.028 s | Neteisinga eilutė |
7 | False | 0.024 s | Neteisinga eilutė |
8 | False | 0.028 s | Neteisinga eilutė |
9 | False | 0.028 s | Neteisinga eilutė |
10 | False | 0.028 s | Neteisinga eilutė |
11 | False | 0.028 s | Neteisinga eilutė |
12 | False | 0.024 s | Neteisinga eilutė |
13 | False | 0.028 s | Neteisinga eilutė |
14 | False | 0.028 s | Neteisinga eilutė |
15 | False | 0.028 s | Neteisinga eilutė |
16 | False | 0.032 s | Neteisinga eilutė |
17 | False | 0.032 s | Neteisinga eilutė |
18 | False | 0.032 s | Neteisinga eilutė |
19 | False | 0.032 s | Neteisinga eilutė |
20 | False | 0.032 s | Neteisinga eilutė |
21 | False | 0.108 s | Neteisinga eilutė |
22 | False | 0.116 s | Neteisinga eilutė |
23 | False | 0.096 s | Neteisinga eilutė |
24 | False | 0.12 s | Neteisinga eilutė |
25 | False | 0.132 s | Neteisinga eilutė |
26 | False | 0.42 s | Neteisinga eilutė |
27 | False | 0.308 s | Neteisinga eilutė |
28 | False | 0.388 s | Neteisinga eilutė |
29 | False | 0.416 s | Neteisinga eilutė |
30 | False | 1.076 s | Time limit exceeded (wall clock) |