Borderou de evaluare (job #802976)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Cel mai lung subşir comun | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 9 ian. 2025 11:51:17 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:6:17: error: variable 'std::ifstream fin' has initializer but incomplete type
6 | ifstream fin("cmlsc.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:7:18: error: variable 'std::ofstream fout' has initializer but incomplete type
7 | ofstream fout("cmlsc.out");
| ^
main.cpp:7:18: note: 'std::ofstream' is defined in header '<fstream>'; this is probably fixable by adding '#include <fstream>'