Borderou de evaluare (job #1531809)

Utilizator adi_ispas95FMI - Adrian Ispas adi_ispas95 Data 21 noiembrie 2015 14:31:21
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:34:43: warning: array subscript is above array bounds [-Warray-bounds] if(locuri[j][1] == 0) ^ user.cpp:42:39: warning: array subscript is above array bounds [-Warray-bounds] if(locuri[j][1] == 0) ^ user.cpp:43:41: warning: array subscript is above array bounds [-Warray-bounds] {locuri[j][1] = 1; out << 2 * j + 2 << "\n";} ^ user.cpp:55:60: warning: array subscript is above array bounds [-Warray-bounds] if(locuri[j][0] == 0 && locuri[j][1] == 0) ^ user.cpp:61:32: warning: array subscript is above array bounds [-Warray-bounds] locuri[j][1] = 1; ^ user.cpp:77:60: warning: array subscript is above array bounds [-Warray-bounds] if(locuri[j][0] == 0 && locuri[j][1] == 0){ ^ user.cpp:79:59: warning: array subscript is above array bounds [-Warray-bounds] locuri[j][0] = locuri[j][1] = locuri[j - 1][0] = 1; ^ user.cpp:84:60: warning: array subscript is above array bounds [-Warray-bounds] if(j > 0 && locuri[j - 1][1] == 0){ ^ user.cpp:85:82: warning: array subscript is above array bounds [-Warray-bounds] locuri[j][0] = locuri[j][1] = locuri[j - 1][1] = 1; ^ user.cpp:85:63: warning: array subscript is above array bounds [-Warray-bounds] locuri[j][0] = locuri[j][1] = locuri[j - 1][1] = 1; ^ user.cpp:91:67: warning: array subscript is above array bounds [-Warray-bounds] locuri[j][0] = locuri[j][1] = locuri[j + 1][0] = 1; ^ user.cpp:96:72: warning: array subscript is above array bounds [-Warray-bounds] if(j < 49999 && locuri[j + 1][1] == 0){ ^ user.cpp:97:90: warning: array subscript is above array bounds [-Warray-bounds] locuri[j][0] = locuri[j][1] = locuri[j + 1][1] = 1; ^ user.cpp:97: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
10ms440kbIncorect0
212ms468kbIncorect0
3136ms532kbIncorect0
4Depăşit564kbTime limit exceeded.0
5Depăşit556kbTime limit exceeded.0
6Depăşit556kbTime limit exceeded.0
7Depăşit564kbTime limit exceeded.0
8Depăşit556kbTime limit exceeded.0
9Depăşit548kbTime limit exceeded.0
10Depăşit556kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?