Rožių sodas
- [1] 2017-10-21 14:19 (0)
- [2] 2017-10-21 14:19 (97.2)
- [3] 2017-10-21 14:22 (100)
Taškai: 97.2
Compile: OK
garden.cpp: In function ‘int main()’: garden.cpp:21:38: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘ll* {aka long long int*}’ [-Wformat=] scanf(" %d %d %d %d", &L, &W, &n, &k); ^ garden.cpp:21:38: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘ll* {aka long long int*}’ [-Wformat=] garden.cpp:21:38: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘ll* {aka long long int*}’ [-Wformat=] garden.cpp:21:38: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘ll* {aka long long int*}’ [-Wformat=] garden.cpp:21:39: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf(" %d %d %d %d", &L, &W, &n, &k); ^ garden.cpp:27:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf(" %d %d", &pz[i].x, &pz[i].y); ^
nr. | result | time | message |
---|---|---|---|
1 | True | 0.0 s | ok |
2 | True | 0.116 s | ok |
3 | False | 0.0 s | Neteisinga eilutė |
4 | True | 0.0 s | ok |
5 | True | 0.0 s | ok |
6 | True | 0.0 s | ok |
7 | True | 0.0 s | ok |
8 | True | 0.0 s | ok |
9 | True | 0.0 s | ok |
10 | True | 0.0 s | ok |
11 | True | 0.004 s | ok |
12 | True | 0.0 s | ok |
13 | True | 0.008 s | ok |
14 | True | 0.0 s | ok |
15 | True | 0.012 s | ok |
16 | True | 0.068 s | ok |
17 | True | 0.0 s | ok |
18 | True | 0.056 s | ok |
19 | True | 0.068 s | ok |
20 | True | 0.004 s | ok |
21 | True | 0.172 s | ok |
22 | True | 0.008 s | ok |
23 | True | 0.124 s | ok |
24 | True | 0.128 s | ok |
25 | True | 0.0 s | ok |
26 | True | 0.0 s | ok |
27 | True | 0.0 s | ok |
28 | True | 0.0 s | ok |
29 | True | 0.0 s | ok |
30 | True | 0.0 s | ok |
31 | True | 0.0 s | ok |
32 | True | 0.0 s | ok |
33 | True | 0.0 s | ok |
34 | True | 0.0 s | ok |
35 | True | 0.0 s | ok |
36 | True | 0.0 s | ok |