Borderou de evaluare (job #2891109)
Utilizator | Data | 17 aprilie 2022 15:58:16 | |
---|---|---|---|
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 'int main()':
main.cpp:64:5: error: 'fin' was not declared in this scope
64 | fin>>n>>g;
| ^~~
main.cpp:69:5: error: 'fout' was not declared in this scope
69 | fout<<max_total.val;
| ^~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !