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