Borderou de evaluare (job #1026019)

Utilizator andreiulianAndrei andreiulian Data 10 noiembrie 2013 22:18:50
Problema Ecuatii 2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 20

Raport evaluator

Compilare: user.cpp: In function ‘void calc(int, int)’: user.cpp:12:44: warning: NULL used in arithmetic [-Wpointer-arith] else {val=e[start]-'0'; if(e[start+1]==NULL) b=b+val*egal;} ^ user.cpp:14:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i=start+1;i<=strlen(e)-1 && e[i-1]!='=' && e[i]!=NULL;i++) ^ user.cpp:14:58: warning: NULL used in arithmetic [-Wpointer-arith] for(i=start+1;i<=strlen(e)-1 && e[i-1]!='=' && e[i]!=NULL;i++) ^ user.cpp:17:20: warning: NULL used in arithmetic [-Wpointer-arith] if(e[i+1]==NULL) b=b+val*egal*s;} ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms404kbGresit!0
20ms408kbOK!10
30ms408kbGresit!0
40ms404kbGresit!0
50ms408kbGresit!0
60ms408kbGresit!0
70ms408kbGresit!0
80ms412kbGresit!0
90ms408kbGresit!0
100ms400kbOK!10
Punctaj total20

Ceva nu functioneaza?