Borderou de evaluare (job #664928)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Cangur (clasa a 5-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 29 sept. 2022 18:16:58 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:12:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
12 | for(i=0;i<n;n--)
| ^~~
main.cpp:15:10: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
15 | z=z*10;
| ^
main.cpp: At global scope:
main.cpp:17:5: error: 'cout' does not name a type
17 | cout << m;
| ^~~~
main.cpp:23:5: error: expected unqualified-id before 'return'
23 | return 0;
| ^~~~~~
main.cpp:24:1: error: expected declaration before '}' token
24 | }
| ^