Borderou de evaluare (job #3221130)
Utilizator | Data | 6 aprilie 2024 00:21:35 | |
---|---|---|---|
Problema | Bete2 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:5:1: error: 'ifstream' was not declared in this scope
5 | ifstream fin("bete2.in");
| ^~~~~~~~
main.cpp:1:1: note: 'std::ifstream' is defined in header '<fstream>'; did you forget to '#include <fstream>'?
+++ |+#include <fstream>
1 | using namespace std;
main.cpp:6:1: error: 'ofstream' was not declared in this scope
6 | ofstream fout("bete2.out");
| ^~~~~~~~
main.cpp:6:1: note: 'std::ofstream' is defined in header '<fstream>'; did you forget to '#include <fstream>'?
main.cpp:7:1: error: 'fin' was not declared in this scope
7 | fin>>n;
| ^~~
main.cpp:16:1: error: 'fout' was not declared in this scope
16 | fout<<sol;
| ^~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !