Borderou de evaluare (job #583494)
| Utilizator |
|
IP | ascuns |
|---|---|---|---|
| Problemă | Desen (clasa a 5-a) | Compilator | cpp-32 |
| Rundă | Arhiva de probleme | Status | evaluat |
| Dată | 26 feb. 2021 15:52:44 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:15:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
15 | if(k!=2)
| ^~
main.cpp:20:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
20 | out << doi / 2 << " " << doi - 1;
| ^~~
main.cpp:21:9: error: expected '}' before 'else'
21 | else
| ^~~~
main.cpp:13:5: note: to match this '{'
13 | {
| ^
main.cpp: At global scope:
main.cpp:27:5: error: expected unqualified-id before 'if'
27 | if (c == 2)
| ^~
main.cpp:44:1: error: expected declaration before '}' token
44 | }
| ^