Pagini recente »
Borderou de evaluare (job #765277)
|
Borderou de evaluare (job #633955)
|
Borderou de evaluare (job #755892)
Borderou de evaluare (job #755892)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:7:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
7 | freopen("matsp.in", "r", stdin);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:8:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
8 | freopen("matsp.out", "w", stdout);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:29:21: warning: 'nextx' may be used uninitialized [-Wmaybe-uninitialized]
29 | if(nextx>0 && nexty>0 && nextx<=n && nexty<=n && v[nexty][nextx]==0);
| ~~~~~^~
main.cpp:20:13: note: 'nextx' was declared here
20 | int nextx, nexty;
| ^~~~~
main.cpp:29:32: warning: 'nexty' may be used uninitialized [-Wmaybe-uninitialized]
29 | if(nextx>0 && nexty>0 && nextx<=n && nexty<=n && v[nexty][nextx]==0);
| ~~~~~^~
main.cpp:20:20: note: 'nexty' was declared here
20 | int nextx, nexty;
| ^~~~~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
241 kb
|
OK
|
5
|
2
|
1 ms
|
245 kb
|
OK
|
5
|
3
|
1 ms
|
245 kb
|
OK
|
5
|
4
|
1 ms
|
237 kb
|
OK
|
5
|
5
|
9 ms
|
200 kb
|
OK
|
5
|
6
|
19 ms
|
606 kb
|
OK
|
5
|
7
|
39 ms
|
675 kb
|
OK
|
5
|
8
|
49 ms
|
843 kb
|
OK
|
5
|
9
|
69 ms
|
1159 kb
|
OK
|
5
|
10
|
99 ms
|
1404 kb
|
OK
|
5
|
11
|
1 ms
|
249 kb
|
Incorect
|
0
|
12
|
1 ms
|
249 kb
|
Incorect
|
0
|
13
|
1 ms
|
249 kb
|
Incorect
|
0
|
14
|
1 ms
|
249 kb
|
Incorect
|
0
|
15
|
1 ms
|
249 kb
|
Incorect
|
0
|
16
|
1 ms
|
249 kb
|
Incorect
|
0
|
17
|
1 ms
|
249 kb
|
Incorect
|
0
|
18
|
1 ms
|
249 kb
|
Incorect
|
0
|
19
|
1 ms
|
245 kb
|
Incorect
|
0
|
20
|
1 ms
|
249 kb
|
Incorect
|
0
|
Punctaj total
|
50
|