Borderou de evaluare (job #1122712)

Utilizator mihail.jianuJianu Mihail mihail.jianu Data 25 februarie 2014 20:02:51
Problema Logic Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 60

Raport evaluator

Compilare: user.cpp: In function ‘void gasesteVar()’: user.cpp:135:27: warning: NULL used in arithmetic [-Wpointer-arith] for (i = 0; s1 [i] != NULL; i ++) ^ user.cpp:143:27: warning: NULL used in arithmetic [-Wpointer-arith] for (i = 0; s2 [i] != NULL; i ++) ^ user.cpp: In function ‘void setS(int)’: user.cpp:158:31: warning: NULL used in arithmetic [-Wpointer-arith] for (i = 0; s1 [i] != NULL; i ++) ^ user.cpp:161:15: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null] s [i] = NULL; ^ user.cpp:167:27: warning: NULL used in arithmetic [-Wpointer-arith] for (i = 0; s2 [i] != NULL; i ++) ^ user.cpp:170:11: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null] s [i] = NULL; ^ /tmp/cc9pWs6M.o: In function `rezolva()': user.cpp:(.text+0x422): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms232kbOK10
24ms232kbOK10
30ms232kbOK10
44ms232kbIncorect0
512ms236kbOK10
64ms232kbIncorect0
74ms232kbOK10
80ms232kbOK10
90ms232kbIncorect0
104ms232kbIncorect0
Punctaj total60

Ceva nu functioneaza?