Borderou de evaluare (job #598355)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Marcel (clasele 5/6) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 17 mai 2021 12:06:45 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:17:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
17 | if ((linie+coloana)%2==0)
| ^~
main.cpp:18:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
18 | s=s+linie+coloana;s
| ^
main.cpp:18:28: error: expected ';' before 'else'
18 | s=s+linie+coloana;s
| ^
| ;
19 | else
| ~~~~
main.cpp:18:27: warning: statement has no effect [-Wunused-value]
18 | s=s+linie+coloana;s
| ^