Borderou de evaluare (job #1122758)

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

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/ccW3SHvr.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
10ms236kbOK10
24ms232kbOK10
30ms232kbOK10
44ms232kbOK10
58ms232kbOK10
64ms236kbOK10
74ms232kbIncorect0
80ms232kbOK10
90ms232kbOK10
104ms236kbOK10
Punctaj total90

Ceva nu functioneaza?