Borderou de evaluare (job #755352)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | SecvRest | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 14 ian. 2024 17:37:59 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:8:12: error: 'n' was not declared in this scope
8 | cin >> n;
| ^
main.cpp:12:18: error: 'i' was not declared in this scope; did you mean 'it'?
12 | cin >> v[i];
| ^
| it
main.cpp:11:16: warning: unused variable 'it' [-Wunused-variable]
11 | for (auto& it : v)
| ^~