Pagini recente » Borderou de evaluare (job #3187212) | Borderou de evaluare (job #2598161) | Borderou de evaluare (job #3197398) | Borderou de evaluare (job #911132) | Borderou de evaluare (job #3221177)
Borderou de evaluare (job #3221177)
Raport evaluator
Compilare:
main.cpp: In function 'void coada(int, int)':
main.cpp:51:45: warning: array subscript 1 is above array bounds of 'int [1]' [-Warray-bounds]
51 | if(a[porti[j][0]][porti[j][1]]==0 ||a[porti[j][0]][porti[j][1]]>a[l][c]+1){
| ~~~~~~~~~~^
main.cpp:7:17: note: while referencing 'porti'
7 | int a[101][101],porti[1001][1];
| ^~~~~
main.cpp: In function 'int main()':
main.cpp:72:34: warning: array subscript 1 is above array bounds of 'int [1]' [-Warray-bounds]
72 | b[porti[p][0]][porti[p][1]]=1;
| ~~~~~~~~~~^
main.cpp:7:17: note: while referencing 'porti'
7 | int a[101][101],porti[1001][1];
| ^~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 303kb | Incorrect distance | 0 |
2 | 0ms | 303kb | Incorrect distance | 0 |
3 | 0ms | 303kb | Incorrect distance | 0 |
4 | 1ms | 303kb | Incorrect distance | 0 |
5 | 0ms | 303kb | Incorrect distance | 0 |
6 | 1ms | 303kb | Incorrect distance | 0 |
7 | 0ms | 303kb | Incorrect number of paths | 3 |
8 | 0ms | 303kb | Incorrect distance | 0 |
9 | 0ms | 303kb | Incorrect distance | 0 |
10 | 0ms | 303kb | Incorrect number of paths | 3 |
Punctaj total | 6 |