Borderou de evaluare (job #1506269)

Utilizator edim98Eduard Constantinescu edim98 Data 20 octombrie 2015 12:55:40
Problema Alge Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 70

Raport evaluator

Compilare: user.cpp: In function ‘void rezolvare()’: user.cpp:67:14: warning: array subscript has type ‘char’ [-Wchar-subscripts] mat[poz.x][poz.y][poz.z] = 1; ^ user.cpp:67:21: warning: array subscript has type ‘char’ [-Wchar-subscripts] mat[poz.x][poz.y][poz.z] = 1; ^ user.cpp:67:28: warning: array subscript has type ‘char’ [-Wchar-subscripts] mat[poz.x][poz.y][poz.z] = 1; ^ user.cpp:68:36: warning: array subscript has type ‘char’ [-Wchar-subscripts] while(prim <= ultim && mat[sf.x][sf.y][sf.z] == 0) ^ user.cpp:68:42: warning: array subscript has type ‘char’ [-Wchar-subscripts] while(prim <= ultim && mat[sf.x][sf.y][sf.z] == 0) ^ user.cpp:68:48: warning: array subscript has type ‘char’ [-Wchar-subscripts] while(prim <= ultim && mat[sf.x][sf.y][sf.z] == 0) ^ user.cpp:77:23: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(mat[v.x][v.y][v.z] == 0) ^ user.cpp:77:28: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(mat[v.x][v.y][v.z] == 0) ^ user.cpp:77:33: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(mat[v.x][v.y][v.z] == 0) ^ user.cpp:79:24: warning: array subscript has type ‘char’ [-Wchar-subscripts] mat[v.x][v.y][v.z] = mat[poz.x][poz.y][poz.z] + 1; ^ user.cpp:79:29: warning: array subscript has type ‘char’ [-Wchar-subscripts] mat[v.x][v.y][v.z] = mat[poz.x][poz.y][poz.z] + 1; ^ user.cpp:79:34: warning: array subscript has type ‘char’ [-Wchar-subscripts] mat[v.x][v.y][v.z] = mat[poz.x][poz.y][poz.z] + 1; ^ user.cpp:79:47: warning: array subscript has type ‘char’ [-Wchar-subscripts] mat[v.x][v.y][v.z] = mat[poz.x][poz.y][poz.z] + 1; ^ user.cpp:79:54: warning: array subscript has type ‘char’ [-Wchar-subscripts] mat[v.x][v.y][v.z] = mat[poz.x][poz.y][poz.z] + 1; ^ user.cpp:79:61: warning: array subscript has type ‘char’ [-Wchar-subscripts] mat[v.x][v.y][v.z] = mat[poz.x][poz.y][poz.z] + 1; ^ user.cpp:85:35: warning: array subscript has type ‘char’ [-Wchar-subscripts] fprintf(fout, "%d\n", mat[sf.x][sf.y][sf.z]); ^ user.cpp:85:41: warning: array subscript has type ‘char’ [-Wchar-subscripts]
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms292kbOK!1020
20ms292kbOK!10
30ms296kbOK!1020
40ms300kbOK!10
50ms328kbOK!1020
60ms304kbOK!10
70ms336kbOK!1010
80ms364kbOK!100
90ms396kbOK!10
104ms420kbKilled by signal 11(SIGSEGV).0
Punctaj total70

Ceva nu functioneaza?