Borderou de evaluare (job #758744)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Compus (clasa a 5-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 28 ian. 2024 13:24:24 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:3:1: error: 'ifstream' does not name a type
3 | ifstream in("compus.in");
| ^~~~~~~~
main.cpp:4:1: error: 'ofstream' does not name a type
4 | ofstream out("compus.out");
| ^~~~~~~~
main.cpp: In function 'int main()':
main.cpp:11:3: error: 'in' was not declared in this scope; did you mean 'n'?
11 | in >> n >> e >> p;
| ^~
| n
main.cpp:48:5: error: 'out' was not declared in this scope
48 | out << v[i] << " ";
| ^~~