Borderou de evaluare (job #802984)

Utilizator avatar nexuss eselte nexuss IP ascuns
Problemă Paranteze2 (clasa a 7-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 9 ian. 2025 12:01:33 Scor 0

Raport evaluator

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