Pagini recente »
Borderou de evaluare (job #583114)
|
Borderou de evaluare (job #540982)
|
Borderou de evaluare (job #772717)
|
Borderou de evaluare (job #670544)
|
Borderou de evaluare (job #744475)
Borderou de evaluare (job #744475)
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:59:86: note: in expansion of macro 'vex'
59 | 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:59:94: note: in expansion of macro 'vey'
59 | 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:60:87: note: in expansion of macro 'vex'
60 | 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:60:95: note: in expansion of macro 'vey'
60 | 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
|
1 ms
|
249 kb
|
Killed by Signal 11
|
0
|
5
|
1 ms
|
249 kb
|
Killed by Signal 11
|
0
|
6
|
2 ms
|
512 kb
|
Killed by Signal 11
|
0
|
7
|
19 ms
|
2076 kb
|
Killed by Signal 11
|
0
|
8
|
29 ms
|
3129 kb
|
Killed by Signal 11
|
0
|
9
|
19 ms
|
1298 kb
|
Killed by Signal 11
|
0
|
10
|
9 ms
|
1036 kb
|
Killed by Signal 11
|
0
|
Punctaj total
|
0
|