Borderou de evaluare (job #1006858)

Utilizator YoYoxxIftimesei Ioan YoYoxx Data 7 octombrie 2013 20:48:50
Problema Reteta2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 34

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:131:26: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null] mat[i][e]=NULL; ^ user.cpp:132:26: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null] mat[j][w]=NULL; ^ user.cpp:154:26: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null] mat[i][e]=NULL; ^ user.cpp:155:26: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null] mat[j][w]=NULL; ^ user.cpp:196:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(j=0;j<strlen(mat[i]);j++) ^ user.cpp:38:15: warning: unused variable ‘l’ [-Wunused-variable] int i,j,k,l,m,z,ok,p,ua,d,w,e,q,u,o,aux,n,t; ^ user.cpp:38:17: warning: unused variable ‘m’ [-Wunused-variable] int i,j,k,l,m,z,ok,p,ua,d,w,e,q,u,o,aux,n,t; ^ user.cpp:38:47: warning: unused variable ‘t’ [-Wunused-variable] int i,j,k,l,m,z,ok,p,ua,d,w,e,q,u,o,aux,n,t; ^ user.cpp:61:10: warning: ‘ok’ may be used uninitialized in this function [-Wmaybe-uninitialized] if(ok==1) {k++;ok=0;} ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms380kbOK!10
20ms380kbAfisarea Ingredientelor gresita3
30ms380kbAfisarea Ingredientelor gresita3
44ms344kbKilled by signal 11(SIGSEGV).0
54ms380kbAfisarea Ingredientelor gresita3
636ms376kbAfisarea Ingredientelor gresita3
74ms384kbAfisarea Ingredientelor gresita3
84ms380kbAfisarea Ingredientelor gresita3
936ms376kbAfisarea Ingredientelor gresita3
104ms376kbAfisarea Ingredientelor gresita3
Punctaj total34

Ceva nu functioneaza?