Borderou de evaluare (job #2155480)

Utilizator Gl0WCula Stefan Gl0W Data 7 martie 2018 21:06:11
Problema Ecuatii 2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

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
10ms1312kbOK!10
20ms1380kbOK!10
30ms1376kbOK!10
40ms1380kbOK!10
50ms1384kbOK!10
60ms1376kbOK!10
70ms1380kbOK!10
80ms1380kbOK!10
90ms1376kbOK!10
100ms1316kbOK!10
Punctaj total100

Ceva nu functioneaza?