Borderou de evaluare (job #2155341)

Utilizator Gl0WCula Stefan Gl0W Data 7 martie 2018 20:04:17
Problema Ecuatii 2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 20

Raport evaluator

Compilare: user.cpp: In function ‘int fn(int)’: user.cpp:22:62: warning: NULL used in arithmetic [-Wpointer-arith] else if(s[l] == 'x' && (s[ll - 1] == '+' || s[ll - 1] == NULL)){ ^ user.cpp:28:46: warning: NULL used in arithmetic [-Wpointer-arith] else if(s[ll - 1] == '+' || s[ll - 1] == NULL){ ^ user.cpp: In function ‘int fn2(int)’: user.cpp:44:62: warning: NULL used in arithmetic [-Wpointer-arith] else if(s[l] == 'x' && (s[ll - 1] == '+' || s[ll - 1] == NULL || s[ll - 1] == '=')){ ^ user.cpp:50:46: warning: NULL used in arithmetic [-Wpointer-arith] else if(s[ll - 1] == '+' || s[ll - 1] == NULL || s[ll - 1] == '='){ ^ user.cpp: In function ‘int main()’: user.cpp:69:56: warning: NULL used in arithmetic [-Wpointer-arith] else if(s[j - 1] == '+' || s[j - 1] == NULL){ ^ user.cpp:83:56: warning: NULL used in arithmetic [-Wpointer-arith] else if(s[k - 1] == '+' || s[k - 1] == NULL || s[k - 1] == '='){ ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms1316kbOK!10
20ms1376kbGresit!0
30ms1380kbGresit!0
40ms1376kbGresit!0
50ms1376kbGresit!0
60ms1384kbGresit!0
70ms1380kbGresit!0
80ms1380kbGresit!0
90ms1380kbGresit!0
100ms1316kbOK!10
Punctaj total20

Ceva nu functioneaza?