Borderou de evaluare (job #808323)

Utilizator avatar Andillusion Andrei Craciun Andillusion IP ascuns
Problemă Comune (clasa a 5-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 9 feb. 2025 13:04:20 Scor 0

Raport evaluator

Eroare de compilare: main.cpp:4:14: error: variable 'std::ifstream fin' has initializer but incomplete type 4 | ifstream fin ("comune.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 | main.cpp:5:15: error: variable 'std::ofstream fout' has initializer but incomplete type 5 | ofstream fout ("comune.out"); | ^ main.cpp:5:15: note: 'std::ofstream' is defined in header '<fstream>'; this is probably fixable by adding '#include <fstream>'