Borderou de evaluare (job #816040)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | 5div | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 25 mar. 2025 09:03:50 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:4:13: error: variable 'std::ifstream fin' has initializer but incomplete type
4 | ifstream fin("5div.in");
| ^
main.cpp:3:1: note: 'std::ifstream' is defined in header '<fstream>'; this is probably fixable by adding '#include <fstream>'
2 | #include <cmath>
+++ |+#include <fstream>
3 | using namespace std;
main.cpp:5:14: error: variable 'std::ofstream fout' has initializer but incomplete type
5 | ofstream fout("5div.out");
| ^
main.cpp:5:14: note: 'std::ofstream' is defined in header '<fstream>'; this is probably fixable by adding '#include <fstream>'