Pagini recente »
Borderou de evaluare (job #721021)
|
Borderou de evaluare (job #774900)
|
Borderou de evaluare (job #524111)
|
Borderou de evaluare (job #228308)
|
Borderou de evaluare (job #755895)
Borderou de evaluare (job #755895)
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
|
245 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
|
40 ms
|
815 kb
|
OK
|
5
|
8
|
59 ms
|
1032 kb
|
OK
|
5
|
9
|
79 ms
|
1347 kb
|
OK
|
5
|
10
|
99 ms
|
1372 kb
|
OK
|
5
|
11
|
1 ms
|
245 kb
|
OK
|
5
|
12
|
1 ms
|
245 kb
|
OK
|
5
|
13
|
1 ms
|
245 kb
|
OK
|
5
|
14
|
1 ms
|
245 kb
|
OK
|
5
|
15
|
1 ms
|
245 kb
|
OK
|
5
|
16
|
1 ms
|
245 kb
|
OK
|
5
|
17
|
1 ms
|
245 kb
|
OK
|
5
|
18
|
1 ms
|
245 kb
|
OK
|
5
|
19
|
1 ms
|
245 kb
|
OK
|
5
|
20
|
1 ms
|
245 kb
|
OK
|
5
|
Punctaj total
|
100
|