Pagini recente »
Borderou de evaluare (job #718929)
|
Borderou de evaluare (job #76644)
|
Borderou de evaluare (job #416474)
|
Borderou de evaluare (job #820707)
|
Borderou de evaluare (job #744474)
Borderou de evaluare (job #744474)
Raport evaluator
Compilare:
main.cpp: In function 'int sol()':
main.cpp:3:22: warning: array subscript 4 is above array bounds of 'int [4]' [-Warray-bounds=]
3 | #define vex(x) i+dx[x]
| ~~~~^
main.cpp:55:86: note: in expansion of macro 'vex'
55 | if(maxx<distinct(v[vex(1)][vey(1)],v[vex(2)][vey(2)],v[vex(3)][vey(3)],v[vex(4)][vey(4)])) {
| ^~~
main.cpp:10:5: note: while referencing 'dx'
10 | int dx[]= {-1,0,1,0};
| ^~
main.cpp:4:22: warning: array subscript 4 is above array bounds of 'int [4]' [-Warray-bounds=]
4 | #define vey(x) j+dy[x]
| ~~~~^
main.cpp:55:94: note: in expansion of macro 'vey'
55 | if(maxx<distinct(v[vex(1)][vey(1)],v[vex(2)][vey(2)],v[vex(3)][vey(3)],v[vex(4)][vey(4)])) {
| ^~~
main.cpp:11:5: note: while referencing 'dy'
11 | int dy[]= {0,-1,0,1};
| ^~
main.cpp:3:22: warning: array subscript 4 is above array bounds of 'int [4]' [-Warray-bounds=]
3 | #define vex(x) i+dx[x]
| ~~~~^
main.cpp:56:87: note: in expansion of macro 'vex'
56 | maxx=distinct(v[vex(1)][vey(1)],v[vex(2)][vey(2)],v[vex(3)][vey(3)],v[vex(4)][vey(4)]);
| ^~~
main.cpp:10:5: note: while referencing 'dx'
10 | int dx[]= {-1,0,1,0};
| ^~
main.cpp:4:22: warning: array subscript 4 is above array bounds of 'int [4]' [-Warray-bounds=]
4 | #define vey(x) j+dy[x]
| ~~~~^
main.cpp:56:95: note: in expansion of macro 'vey'
56 | maxx=distinct(v[vex(1)][vey(1)],v[vex(2)][vey(2)],v[vex(3)][vey(3)],v[vex(4)][vey(4)]);
| ^~~
main.cpp:11:5: note: while referencing 'dy'
11 | int dy[]= {0,-1,0,1};
| ^~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
249 kb
|
Killed by Signal 11
|
0
|
2
|
1 ms
|
249 kb
|
Killed by Signal 11
|
0
|
3
|
1 ms
|
249 kb
|
Killed by Signal 11
|
0
|
4
|
2 ms
|
249 kb
|
Killed by Signal 11
|
0
|
5
|
1 ms
|
249 kb
|
Killed by Signal 11
|
0
|
6
|
1 ms
|
503 kb
|
Killed by Signal 11
|
0
|
7
|
9 ms
|
1818 kb
|
Killed by Signal 11
|
0
|
8
|
29 ms
|
3133 kb
|
Killed by Signal 11
|
0
|
9
|
19 ms
|
1294 kb
|
Killed by Signal 11
|
0
|
10
|
9 ms
|
1036 kb
|
Killed by Signal 11
|
0
|
Punctaj total
|
0
|