Borderou de evaluare (job #1006867)

Utilizator YoYoxxIftimesei Ioan YoYoxx Data 7 octombrie 2013 20:55:39
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:155:26: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null] mat[i][e]=NULL; ^ user.cpp:156:26: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null] mat[j][w]=NULL; ^ user.cpp:198: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
10ms384kbOK!10
20ms384kbAfisarea Ingredientelor gresita3
30ms384kbAfisarea Ingredientelor gresita3
44ms348kbKilled by signal 11(SIGSEGV).0
54ms388kbAfisarea Ingredientelor gresita3
640ms384kbAfisarea Ingredientelor gresita3
74ms384kbAfisarea Ingredientelor gresita3
84ms384kbAfisarea Ingredientelor gresita3
936ms380kbAfisarea Ingredientelor gresita3
104ms380kbAfisarea Ingredientelor gresita3
Punctaj total34

Ceva nu functioneaza?