Borderou de evaluare (job #797871)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Invector (clasa a 7-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 26 nov. 2024 18:34:25 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:23:5: error: 'out' was not declared in this scope
23 | out<<v[i]<<" ";
| ^~~
main.cpp:22:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
22 | for(i=0;i<n;i++)
| ^~~
main.cpp:24:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
24 | return 0;
| ^~~~~~