Borderou de evaluare (job #744897)

Utilizator avatar antoniogrosu Antonio Grosu antoniogrosu IP ascuns
Problemă Cuvinte (clasa a 5-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 14 nov. 2023 17:54:02 Scor 40

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:17:22: warning: suggest parentheses around comparison in operand of '|' [-Wparentheses] 17 | if (x >= 65 && x <= 90 | x >= 95 && x <= 122 | x >= 48 && x <= 57) | ~~^~~~~ main.cpp:17:43: warning: suggest parentheses around comparison in operand of '|' [-Wparentheses] 17 | if (x >= 65 && x <= 90 | x >= 95 && x <= 122 | x >= 48 && x <= 57) | ~~^~~~~~ main.cpp:13:35: warning: 'prevX' may be used uninitialized [-Wmaybe-uninitialized] 13 | if (prevX != '.' && prevX != ',' && prevX != ' ' && (x == '.' || x == ',' || x == ' ')) | ~~~~~~^~~~~~ main.cpp:9:13: note: 'prevX' was declared here 9 | char x, prevX; | ^~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb Incorect 0
2 1 ms 245 kb Incorect 0
3 1 ms 245 kb OK 10
4 1 ms 245 kb OK 10
5 1 ms 245 kb Incorect 0
6 1 ms 245 kb OK 10
7 1 ms 245 kb Incorect 0
8 1 ms 249 kb Incorect 0
9 99 ms 245 kb OK 10
10 89 ms 249 kb Incorect 0
Punctaj total 40