Borderou de evaluare (job #609392)

Utilizator avatar Lusian afa andrei Lusian IP ascuns
Problemă Paritate (clasa a 9-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 10 oct. 2021 12:45:54 Scor 60

Raport evaluator

Compilare: main.cpp: In function 'bool verif(int)': main.cpp:19:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 19 | if((s[i] == '0' && nr % 2 == 0) || (s[i] == '1' && nr % 2 == 1)) | ^~ main.cpp:21:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 21 | return false; | ^~~~~~ main.cpp: In function 'char trans(int)': main.cpp:35:8: warning: 'c' may be used uninitialized in this function [-Wmaybe-uninitialized] 35 | return c; | ^
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 4 ms 131 kb OK 10
2 4 ms 131 kb OK 10
3 4 ms 131 kb OK 10
4 5 ms 131 kb OK 10
5 5 ms 131 kb OK 10
6 4 ms 131 kb OK 10
7 5 ms 262 kb Incorect 0
8 11 ms 262 kb Incorect 0
9 10 ms 262 kb Incorect 0
10 8 ms 262 kb Incorect 0
Punctaj total 60