Borderou de evaluare (job #824550)

Utilizator avatar gigeldan Ionita Catalin gigeldan IP ascuns
Problemă Jbird (clasa a 7-a) Compilator cpp-32
Rundă cex_cnilc1_s1 Status evaluat
Dată 17 mai 2025 12:52:25 Scor 0

Raport evaluator

Eroare de compilare: main.cpp:3:12: error: variable 'std::ifstream ci' has initializer but incomplete type 3 | ifstream ci("jbird.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:4:13: error: variable 'std::ofstream cou' has initializer but incomplete type 4 | ofstream cou("jbird.out"); | ^ main.cpp:4:13: note: 'std::ofstream' is defined in header '<fstream>'; this is probably fixable by adding '#include <fstream>'