Borderou de evaluare (job #823411)
| Utilizator |
|
IP | ascuns |
|---|---|---|---|
| Problemă | Culori (clasa a 5-a) | Compilator | cpp-32 |
| Rundă | Arhiva de probleme | Status | evaluat |
| Dată | 11 mai 2025 13:16:10 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:4:13: error: variable 'std::ifstream fin' has initializer but incomplete type
4 | ifstream fin("culori.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:14: error: variable 'std::ofstream fout' has initializer but incomplete type
5 | ofstream fout("culori.out");
| ^
main.cpp:5:14: note: 'std::ofstream' is defined in header '<fstream>'; this is probably fixable by adding '#include <fstream>'