Borderou de evaluare (job #657755)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Numere2 (clasa a 7-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 14 aug. 2022 14:11:19 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:8:5: error: 'in' was not declared in this scope; did you mean 'i'?
8 | in >> n;
| ^~
| i
main.cpp:14:13: error: 'out' was not declared in this scope
14 | out << i + 1 << " ";
| ^~~
main.cpp:15:9: error: 'out' was not declared in this scope
15 | out << '\n';
| ^~~
main.cpp:7:15: warning: unused variable 'i' [-Wunused-variable]
7 | int n, x, i;
| ^