Borderou de evaluare (job #652151)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Partitura (clasa a 5-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 5 iun. 2022 13:05:55 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:23:13: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
23 | else
| ^~~~
main.cpp:25:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else'
25 | if(a+3=b && b+2=c)
| ^~
main.cpp:25:26: error: lvalue required as left operand of assignment
25 | if(a+3=b && b+2=c)
| ~~^~~~~~
main.cpp:29:26: error: lvalue required as left operand of assignment
29 | if(a+2=b && b+3=c)
| ~~^~~~~~