Borderou de evaluare (job #615841)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | ANAF (clasa a 6-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 12 nov. 2021 10:57:55 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:10:5: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
10 | while(cin.get(a)&&(a!='\n'&&a!=' '))
| ^~~~~
main.cpp:12:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while'
12 | reverse(v,v+cnt);
| ^~~~~~~
main.cpp:37:25: error: expected ';' before '}' token
37 | v[i]
| ^
| ;
38 | }
| ~
main.cpp:37:24: warning: statement has no effect [-Wunused-value]
37 | v[i]
| ~~~^