Borderou de evaluare (job #1531847)

Utilizator adi_ispas95FMI - Adrian Ispas adi_ispas95 Data 21 noiembrie 2015 14:35:33
Problema Por Costel și Trenul Status done
Runda FMI No Stress 6 Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:32:67: warning: array subscript is above array bounds [-Warray-bounds] if(j >= 0 && j <= 49999 && locuri[j][1] == 0) ^ user.cpp:40:63: warning: array subscript is above array bounds [-Warray-bounds] if(j >= 0 && j <= 49999 && locuri[j][1] == 0) ^ user.cpp:41:41: warning: array subscript is above array bounds [-Warray-bounds] {locuri[j][1] = 1; out << 2 * j + 2 << "\n";} ^ user.cpp:51:84: warning: array subscript is above array bounds [-Warray-bounds] if(j >= 0 && j <= 49999 && locuri[j][0] == 0 && locuri[j][1] == 0) ^ user.cpp:57:32: warning: array subscript is above array bounds [-Warray-bounds] locuri[j][1] = 1; ^ user.cpp:70:60: warning: array subscript is above array bounds [-Warray-bounds] if(locuri[j][0] == 0 && locuri[j][1] == 0){ ^ user.cpp:72:59: warning: array subscript is above array bounds [-Warray-bounds] locuri[j][0] = locuri[j][1] = locuri[j - 1][0] = 1; ^ user.cpp:77:60: warning: array subscript is above array bounds [-Warray-bounds] if(j > 0 && locuri[j - 1][1] == 0){ ^ user.cpp:78:82: warning: array subscript is above array bounds [-Warray-bounds] locuri[j][0] = locuri[j][1] = locuri[j - 1][1] = 1; ^ user.cpp:78:63: warning: array subscript is above array bounds [-Warray-bounds] locuri[j][0] = locuri[j][1] = locuri[j - 1][1] = 1; ^ user.cpp:84:67: warning: array subscript is above array bounds [-Warray-bounds] locuri[j][0] = locuri[j][1] = locuri[j + 1][0] = 1; ^ user.cpp:89:72: warning: array subscript is above array bounds [-Warray-bounds] if(j < 49999 && locuri[j + 1][1] == 0){ ^ user.cpp:90:90: warning: array subscript is above array bounds [-Warray-bounds] locuri[j][0] = locuri[j][1] = locuri[j + 1][1] = 1; ^ user.cpp:90:71: warning: array subscript is above array bounds [-Warray-bounds] locuri[j][0] = locuri[j][1] = locuri[j + 1][1] = 1; ^
Feedback Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms444kbIncorect0
20ms472kbIncorect0
38ms532kbIncorect0
416ms600kbIncorect0
5Depăşit604kbTime limit exceeded.0
6Depăşit608kbTime limit exceeded.0
7Depăşit600kbTime limit exceeded.0
8Depăşit608kbTime limit exceeded.0
9Depăşit604kbTime limit exceeded.0
10Depăşit604kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?