Borderou de evaluare (job #1602017)

Utilizator roxana_97Soare Roxana Florentina roxana_97 Data 16 februarie 2016 14:16:37
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:29:35: warning: array subscript is above array bounds [-Warray-bounds] int j2 = up[it->nod][2]; ^ user.cpp:31:20: warning: array subscript is above array bounds [-Warray-bounds] if (a[2][j1] == a[2][j2]) { ^ user.cpp:31:32: warning: array subscript is above array bounds [-Warray-bounds] if (a[2][j1] == a[2][j2]) { ^ user.cpp:38:25: warning: array subscript is above array bounds [-Warray-bounds] swap(a[2][j1],a[1][j1]);//interschimb j1 ^ user.cpp:40:25: warning: array subscript is above array bounds [-Warray-bounds] swap(a[2][j2],a[1][j2]); ^ user.cpp:29:35: warning: array subscript is above array bounds [-Warray-bounds] int j2 = up[it->nod][2]; ^ user.cpp:31:20: warning: array subscript is above array bounds [-Warray-bounds] if (a[2][j1] == a[2][j2]) { ^ user.cpp:31:32: warning: array subscript is above array bounds [-Warray-bounds] if (a[2][j1] == a[2][j2]) { ^ user.cpp:38:25: warning: array subscript is above array bounds [-Warray-bounds] swap(a[2][j1],a[1][j1]);//interschimb j1 ^ user.cpp:40:25: warning: array subscript is above array bounds [-Warray-bounds] swap(a[2][j2],a[1][j2]); ^ user.cpp:29:35: warning: array subscript is above array bounds [-Warray-bounds] int j2 = up[it->nod][2]; ^ user.cpp:31:20: warning: array subscript is above array bounds [-Warray-bounds] if (a[2][j1] == a[2][j2]) { ^ user.cpp:31:32: warning: array subscript is above array bounds [-Warray-bounds] if (a[2][j1] == a[2][j2]) { ^ user.cpp:38:25: warning: array subscript is above array bounds [-Warray-bounds] swap(a[2][j1],a[1][j1]);//interschimb j1 ^ user.cpp:40:25: warning: array subscript is above array bounds [-Warray-bounds] swap(a[2][j2],a[1][j2]); ^ user.cpp:29:35: warning: array subscript is above array bounds [-Warray-bounds] int j2 = up[it->nod][2]; ^ user.cpp:31:20: warning: array subscript is above array bounds [-Warray-bounds]
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms548kbCerinta 1 corecta3
20ms552kbIncorect0
30ms548kbIncorect0
40ms548kbCerinta 1 corecta3
50ms552kbIncorect0
60ms564kbIncorect0
70ms572kbIncorect0
80ms572kbIncorect0
916ms1048kbIncorect0
1016ms1048kbIncorect0
Punctaj total6

Ceva nu functioneaza?