Borderou de evaluare (job #816395)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Cifre comune (clasa a 5-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 27 mar. 2025 12:44:53 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:4:16: error: variable 'std::ifstream Raisa' has initializer but incomplete type
4 | ifstream Raisa ("cfcomune.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:18: error: variable 'std::ofstream Arianna' has initializer but incomplete type
5 | ofstream Arianna ("cfcomune.out");
| ^
main.cpp:5:18: note: 'std::ofstream' is defined in header '<fstream>'; this is probably fixable by adding '#include <fstream>'