Borderou de evaluare (job #3153038)
Utilizator | Data | 27 septembrie 2023 19:27:58 | |
---|---|---|---|
Problema | Problema rucsacului | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:4:1: error: 'ifstream' does not name a type
4 | ifstream fin("rucsac.in");
| ^~~~~~~~
main.cpp:5:1: error: 'ofstream' does not name a type
5 | ofstream fout("rucsac.out");
| ^~~~~~~~
main.cpp: In function 'void citire()':
main.cpp:17:5: error: 'fin' was not declared in this scope
17 | fin>>n>>G;
| ^~~
main.cpp: In function 'int main()':
main.cpp:39:5: error: 'fout' was not declared in this scope
39 | fout<<profmax();
| ^~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !