Borderou de evaluare (job #1531827)

Utilizator adi_ispas95FMI - Adrian Ispas adi_ispas95 Data 21 noiembrie 2015 14:34:04
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:43: warning: array subscript is above array bounds [-Warray-bounds] if(locuri[j][1] == 0) ^ user.cpp:40:39: warning: array subscript is above array bounds [-Warray-bounds] if(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:60: warning: array subscript is above array bounds [-Warray-bounds] if(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
✓38ms536kbIncorect0
✓416ms608kbIncorect0
✓528ms624kbKilled by signal 11(SIGSEGV).0
✓624ms624kbKilled by signal 11(SIGSEGV).0
✓724ms628kbKilled by signal 11(SIGSEGV).0
✓824ms624kbKilled by signal 11(SIGSEGV).0
✓924ms620kbKilled by signal 11(SIGSEGV).0
✓1024ms632kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?