Pagini recente »
Borderou de evaluare (job #19767)
|
Borderou de evaluare (job #788782)
|
Borderou de evaluare (job #547244)
|
Borderou de evaluare (job #496432)
|
Borderou de evaluare (job #706220)
Borderou de evaluare (job #706220)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:73:8: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
73 | freopen("insule.in","r",stdin);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
main.cpp:74:8: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
74 | freopen("insule.out","w",stdout);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In function 'void bfs()':
main.cpp:61:76: warning: array subscript 4 is above array bounds of 'bool [4]' [-Warray-bounds]
61 | direction[vx][vy][4] = true;
| ~~~~~~~~~~~~~~~~~~~^
main.cpp:19:6: note: while referencing 'direction'
19 | bool direction[101][101][4];
| ^~~~~~~~~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
245 kb
|
OK
|
10
|
2
|
1 ms
|
245 kb
|
OK
|
10
|
3
|
1 ms
|
245 kb
|
OK
|
10
|
4
|
1 ms
|
503 kb
|
OK
|
10
|
5
|
1 ms
|
245 kb
|
Incorect
|
0
|
6
|
1 ms
|
249 kb
|
OK
|
10
|
7
|
1 ms
|
512 kb
|
Incorect
|
0
|
8
|
1 ms
|
249 kb
|
OK
|
10
|
9
|
1 ms
|
245 kb
|
Incorect
|
0
|
10
|
1 ms
|
245 kb
|
OK
|
10
|
Punctaj total
|
70
|