Borderou de evaluare (job #1122717)

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

Raport evaluator

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

Ceva nu functioneaza?