Borderou de evaluare (job #609410)

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 13:00:12 Scor 100

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 4 ms 258 kb OK 10
5 5 ms 131 kb OK 10
6 4 ms 131 kb OK 10
7 3 ms 520 kb OK 10
8 35 ms 655 kb OK 10
9 35 ms 520 kb OK 10
10 31 ms 651 kb OK 10
Punctaj total 100