Borderou de evaluare (job #674071)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Semipalindrom | Compilator | cpp-32 |
Rundă | tema1_5_2022 | Status | evaluat |
Dată | 5 nov. 2022 13:10:15 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:28:5: error: expected '}' before 'else'
28 | else {
| ^~~~
main.cpp:23:14: note: to match this '{'
23 | if (k%2 == 0){
| ^
main.cpp: At global scope:
main.cpp:35:1: error: expected unqualified-id before 'if'
35 | if (n/p == n%p) {fout n/2 << ;}
| ^~
main.cpp:36:5: error: expected unqualified-id before 'else'
36 | else {
| ^~~~
main.cpp:44:1: error: expected unqualified-id before 'return'
44 | return 0;
| ^~~~~~
main.cpp:45:1: error: expected declaration before '}' token
45 | }
| ^