Borderou de evaluare (job #696462)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Adunare | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 16 feb. 2023 23:01:38 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:2:1: error: 'fstream' does not name a type
2 | fstream fin ("adunare.in", ios::in), fout ("adunare.out", ios::out);
| ^~~~~~~
main.cpp: In function 'int main()':
main.cpp:6:9: error: 'fin' was not declared in this scope
6 | fin >> a >> b;
| ^~~
main.cpp:7:9: error: 'fout' was not declared in this scope
7 | fout << a + b;
| ^~~~