Borderou de evaluare (job #596605)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Cezar (clasa a 5-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 20 apr. 2021 18:18:21 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:13:20: error: expected ')' before ';' token
13 | while (fin >> y;)
| ~ ^
| )
main.cpp:13:5: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
13 | while (fin >> y;)
| ^~~~~
main.cpp:13:21: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while'
13 | while (fin >> y;)
| ^
main.cpp:13:21: error: expected primary-expression before ')' token
main.cpp:11:10: warning: unused variable 'x' [-Wunused-variable]
11 | long x;
| ^