Borderou de evaluare (job #803230)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Punga (clasa a 7-a) | Compilator | cpp-32 |
Rundă | lasm_09_01_2025_clasa11 | Status | evaluat |
Dată | 9 ian. 2025 15:43:01 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:6:12: error: variable 'std::ifstream in' has initializer but incomplete type
6 | ifstream in("punga.in");
| ^
main.cpp:5:1: note: 'std::ifstream' is defined in header '<fstream>'; this is probably fixable by adding '#include <fstream>'
4 | #include <climits>
+++ |+#include <fstream>
5 | using namespace std;
main.cpp:7:13: error: variable 'std::ofstream out' has initializer but incomplete type
7 | ofstream out("punga.out");
| ^
main.cpp:7:13: note: 'std::ofstream' is defined in header '<fstream>'; this is probably fixable by adding '#include <fstream>'