Borderou de evaluare (job #787873)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Bancomat (clasa a 5-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 25 sept. 2024 21:53:20 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:4:1: error: 'ifstream' does not name a type
4 | ifstream fin ("bancomat.in");
| ^~~~~~~~
main.cpp:5:1: error: 'ofstream' does not name a type
5 | ofstream fout ("bancomat.out");
| ^~~~~~~~
main.cpp: In function 'int main()':
main.cpp:13:1: error: 'fin' was not declared in this scope
13 | fin>>S;
| ^~~
main.cpp:20:5: error: 'fout' was not declared in this scope
20 | fout<<S;
| ^~~~