Borderou de evaluare (job #702762)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Abc (clasa a 5-a) | Compilator | cpp-32 |
Rundă | superoji2 | Status | evaluat |
Dată | 8 mar. 2023 09:14:44 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:27:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
27 | while (i=0;i < n; i++){
| ~^~
main.cpp:27:11: error: expected ')' before ';' token
27 | while (i=0;i < n; i++){
| ~ ^
| )
main.cpp:27:1: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
27 | while (i=0;i < n; i++){
| ^~~~~
main.cpp:27:12: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while'
27 | while (i=0;i < n; i++){
| ^
main.cpp:27:14: warning: statement has no effect [-Wunused-value]
27 | while (i=0;i < n; i++){
| ~~^~~
main.cpp:27:22: error: expected ';' before ')' token
27 | while (i=0;i < n; i++){
| ^
| ;