Nelyginis kiekis
- [1] 2019-07-22 19:47 (71.4)
- [2] 2019-07-26 23:17 (71.4)
- [3] 2019-07-28 14:15 (71.4)
- [4] 2019-08-26 22:42 (85.7)
Taškai: 71.4
Compile: OK
nelyginis.cpp: In function ‘int main()’: nelyginis.cpp:64:17: warning: range-based for loop without a type-specifier only available with -std=c++1z or -std=gnu++1z for (i : u){ ^ nelyginis.cpp:43:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf(" %d %d", &n, &q); ^ nelyginis.cpp:46:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf(" %d", &a[i]); ^ nelyginis.cpp:52:39: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf(" %c %d %d", &c, &l, &r); ^
| nr. | result | time | message |
|---|---|---|---|
| 1 | True | 0.0 s | ok |
| 2 | False | 0.736 s | Time limit exceeded |
| 3 | True | 0.0 s | ok |
| 4 | True | 0.0 s | ok |
| 5 | True | 0.452 s | ok |
| 6 | True | 0.232 s | ok |
| 7 | False | 0.788 s | Time limit exceeded (wall clock) |
