Borderou de evaluare (job #825311)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Aur (Clasa a 5-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 20 mai 2025 19:59:36 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:9:17: error: variable 'std::ifstream fin' has initializer but incomplete type
9 | ifstream fin("aur.in");
| ^
main.cpp:2:1: note: 'std::ifstream' is defined in header '<fstream>'; this is probably fixable by adding '#include <fstream>'
1 | #include <iostream>
+++ |+#include <fstream>
2 | using namespace std;
main.cpp:10:18: error: variable 'std::ofstream fout' has initializer but incomplete type
10 | ofstream fout("aur.out");
| ^
main.cpp:10:18: note: 'std::ofstream' is defined in header '<fstream>'; this is probably fixable by adding '#include <fstream>'