Borderou de evaluare (job #722163)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Maxim1 (clasa a 5-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 29 mai 2023 09:51:50 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:36:13: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
36 | if (i > 1)i--;c--;}
| ^~
main.cpp:36:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
36 | if (i > 1)i--;c--;}
| ^
main.cpp:56:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else]
56 | if (c)
| ^
main.cpp:69:10: error: expected '}' at end of input
69 | g << y ;
| ^
main.cpp:7:1: note: to match this '{'
7 | {int a;
| ^