Borderou de evaluare (job #1602014)

Utilizator roxana_97Soare Roxana Florentina roxana_97 Data 16 februarie 2016 14:13:33
Problema Biperm Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 6

Raport evaluator

Compilare: user.cpp: In function ‘void DFS(int)’: user.cpp:30:35: warning: array subscript is above array bounds [-Warray-bounds] int j2 = up[it->nod][2]; ^ user.cpp:32:20: warning: array subscript is above array bounds [-Warray-bounds] if (a[2][j1] == a[2][j2]) { ^ user.cpp:32:32: warning: array subscript is above array bounds [-Warray-bounds] if (a[2][j1] == a[2][j2]) { ^ user.cpp:39:25: warning: array subscript is above array bounds [-Warray-bounds] swap(a[2][j1],a[1][j1]);//interschimb j1 ^ user.cpp:41:25: warning: array subscript is above array bounds [-Warray-bounds] swap(a[2][j2],a[1][j2]); ^ user.cpp:30:35: warning: array subscript is above array bounds [-Warray-bounds] int j2 = up[it->nod][2]; ^ user.cpp:32:20: warning: array subscript is above array bounds [-Warray-bounds] if (a[2][j1] == a[2][j2]) { ^ user.cpp:32:32: warning: array subscript is above array bounds [-Warray-bounds] if (a[2][j1] == a[2][j2]) { ^ user.cpp:39:25: warning: array subscript is above array bounds [-Warray-bounds] swap(a[2][j1],a[1][j1]);//interschimb j1 ^ user.cpp:41:25: warning: array subscript is above array bounds [-Warray-bounds] swap(a[2][j2],a[1][j2]); ^ user.cpp:30:35: warning: array subscript is above array bounds [-Warray-bounds] int j2 = up[it->nod][2]; ^ user.cpp:32:20: warning: array subscript is above array bounds [-Warray-bounds] if (a[2][j1] == a[2][j2]) { ^ user.cpp:32:32: warning: array subscript is above array bounds [-Warray-bounds] if (a[2][j1] == a[2][j2]) { ^ user.cpp:39:25: warning: array subscript is above array bounds [-Warray-bounds] swap(a[2][j1],a[1][j1]);//interschimb j1 ^ user.cpp:41:25: warning: array subscript is above array bounds [-Warray-bounds] swap(a[2][j2],a[1][j2]); ^ user.cpp:30:35: warning: array subscript is above array bounds [-Warray-bounds] int j2 = up[it->nod][2]; ^ user.cpp:32:20: warning: array subscript is above array bounds [-Warray-bounds]
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms540kbCerinta 1 corecta3
20ms536kbIncorect0
30ms536kbIncorect0
40ms544kbCerinta 1 corecta3
50ms544kbIncorect0
60ms556kbIncorect0
70ms564kbIncorect0
80ms572kbIncorect0
916ms1040kbIncorect0
1016ms1040kbIncorect0
Punctaj total6

Ceva nu functioneaza?