Borderou de evaluare (job #852041)

Utilizator avatar mihaiI Ioneanu Mihai mihaiI IP ascuns
Problemă Cub Compilator cpp
Rundă Arhiva de probleme Status evaluat
Dată 5 feb. 2026 17:22:04 Scor 0

Raport evaluator

Eroare de compilare: main.cpp:5:14: error: variable 'std::ifstream fin' has initializer but incomplete type 5 | ifstream fin ("cub.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 | #include <iostream> main.cpp:6:1: error: expected ',' or ';' before 'ifstream' 6 | ifstream fin ("cub.in") | ^~~~~~~~