Masyvo Užklausos 1
- [1] 2019-04-13 11:41 (100)
Taškai: 100
Compile: OK
masyvo_uzklausos123.cpp: In function ‘int main()’: masyvo_uzklausos123.cpp:42:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf(" %d", &n); ^ masyvo_uzklausos123.cpp:44:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf(" %d", &a[i]); ^ masyvo_uzklausos123.cpp:52:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] int q; scanf(" %d", &q); ^ masyvo_uzklausos123.cpp:55:26: 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.028 s | ok |
2 | True | 0.048 s | ok |
3 | True | 0.052 s | ok |
4 | True | 0.052 s | ok |
5 | True | 0.048 s | ok |
6 | True | 0.052 s | ok |
7 | True | 0.052 s | ok |
8 | True | 0.052 s | ok |
9 | True | 0.052 s | ok |
10 | True | 0.052 s | ok |
11 | True | 0.052 s | ok |
12 | True | 0.052 s | ok |
13 | True | 0.028 s | ok |
14 | True | 0.032 s | ok |
15 | True | 0.048 s | ok |
16 | True | 0.056 s | ok |
17 | True | 0.056 s | ok |
18 | True | 0.084 s | ok |
19 | True | 0.056 s | ok |
20 | True | 0.06 s | ok |
21 | True | 0.072 s | ok |
22 | True | 0.092 s | ok |
23 | True | 0.064 s | ok |
24 | True | 0.1 s | ok |
25 | True | 0.1 s | ok |
26 | True | 0.192 s | ok |
27 | True | 0.188 s | ok |
28 | True | 0.248 s | ok |
29 | True | 0.22 s | ok |
30 | True | 0.496 s | ok |