Borderou de evaluare (job #1531967)

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

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:13:36: warning: unused variable ‘j1’ [-Wunused-variable] int n, m, c, total = 0, j = 0, j1 = 0, j2 = 0, j3 = 0; ^ user.cpp:13:44: warning: unused variable ‘j2’ [-Wunused-variable] int n, m, c, total = 0, j = 0, j1 = 0, j2 = 0, j3 = 0; ^ user.cpp:13:52: warning: unused variable ‘j3’ [-Wunused-variable] int n, m, c, total = 0, j = 0, j1 = 0, j2 = 0, j3 = 0; ^ user.cpp:34:67: warning: array subscript is above array bounds [-Warray-bounds] if(j >= 0 && j <= 49999 && locuri[j][1] == 0) ^ user.cpp:42:63: warning: array subscript is above array bounds [-Warray-bounds] if(j >= 0 && j <= 49999 && 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:58: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:64:32: warning: array subscript is above array bounds [-Warray-bounds] locuri[j][1] = 1; ^ user.cpp:82:60: warning: array subscript is above array bounds [-Warray-bounds] if(locuri[j][0] == 0 && locuri[j][1] == 0){ ^ user.cpp:84:59: warning: array subscript is above array bounds [-Warray-bounds] locuri[j][0] = locuri[j][1] = locuri[j - 1][0] = 1; ^ user.cpp:90:60: warning: array subscript is above array bounds [-Warray-bounds] if(j > 0 && locuri[j - 1][1] == 0){ ^ user.cpp:91:82: warning: array subscript is above array bounds [-Warray-bounds] locuri[j][0] = locuri[j][1] = locuri[j - 1][1] = 1; ^ user.cpp:91:63: warning: array subscript is above array bounds [-Warray-bounds] locuri[j][0] = locuri[j][1] = locuri[j - 1][1] = 1; ^ user.cpp:98:67: warning: array subscript is above array bounds [-Warray-bounds] locuri[j][0] = locuri[j][1] = locuri[j + 1][0] = 1; ^ user.cpp:104:72: warning: array subscript is above array bounds [-Warray-bounds] if(j < 49999 && locuri[j + 1][1] == 0){ ^ user.cpp:105:90: warning: array subscript is above array bounds [-Warray-bounds] locuri[j][0] = locuri[j][1] = locuri[j + 1][1] = 1; ^ user.cpp:105:71: warning: array subscript is above array bounds [-Warray-bounds]
Feedback Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms444kbIncorect0
20ms460kbCorect10
38ms508kbIncorect0
416ms568kbIncorect0
5Depăşit600kbTime limit exceeded.0
6Depăşit604kbTime limit exceeded.0
7Depăşit604kbTime limit exceeded.0
8Depăşit608kbTime limit exceeded.0
9Depăşit600kbTime limit exceeded.0
10Depăşit600kbTime limit exceeded.0
Punctaj total10

Ceva nu functioneaza?