Borderou de evaluare (job #760983)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Balaur (clasa a 5-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 8 feb. 2024 18:11:04 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:5:1: error: 'ifstream' does not name a type
5 | ifstream f("balaur.in");
| ^~~~~~~~
main.cpp:6:1: error: 'ofstream' does not name a type
6 | ofstream g("balaur.out");
| ^~~~~~~~
main.cpp: In function 'int main()':
main.cpp:13:5: error: 'f' was not declared in this scope
13 | f>>n;
| ^
main.cpp:15:5: error: 'g' was not declared in this scope
15 | g<<S;
| ^