Borderou de evaluare (job #687150)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Șir7 (clasa a 5-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 14 ian. 2023 12:19:58 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:18:5: error: 'else' without a previous 'if'
18 | else
| ^~~~
main.cpp:19:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
19 | if(C==2)
| ^~
main.cpp:23:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
23 | fout<<1<<" "<<4;
| ^~~~
main.cpp:24:5: error: 'else' without a previous 'if'
24 | else
| ^~~~
main.cpp:25:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
25 | if(C==3)
| ^~
main.cpp:29:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
29 | fout<<6<<endl;
| ^~~~