Borderou de evaluare (job #707322)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Kdiv (clasa a 5-a) | Compilator | cpp-32 |
Rundă | superoji3 | Status | evaluat |
Dată | 15 mar. 2023 11:39:52 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:17:13: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
17 | else
| ^~~~
main.cpp:19:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else'
19 | while(nr%2==0)
| ^~~~~
main.cpp:21:13: error: 'else' without a previous 'if'
21 | else
| ^~~~