Borderou de evaluare (job #715727)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Cezar (clasa a 5-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 19 apr. 2023 12:06:23 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:10:16: error: expected ')' before ';' token
10 | while(cin>>a;)
| ~ ^
| )
main.cpp:10:4: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
10 | while(cin>>a;)
| ^~~~~
main.cpp:10:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while'
10 | while(cin>>a;)
| ^
main.cpp:10:17: error: expected primary-expression before ')' token