Borderou de evaluare (job #3355280)
| Utilizator | Data | 22 mai 2026 12:59:40 | |
|---|---|---|---|
| Problema | Problema rucsacului | Status | done |
| Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Eroare de compilare:
main.cpp:5:1: error: 'ifstream' does not name a type
5 | ifstream fin("rucsac.in");
| ^~~~~~~~
main.cpp:6:1: error: 'ofstream' does not name a type
6 | ofstream fout("rucsac.out");
| ^~~~~~~~
main.cpp: In function 'int main()':
main.cpp:12:9: error: 'fin' was not declared in this scope
12 | fin>>n>>g;
| ^~~
main.cpp:30:9: error: 'fout' was not declared in this scope
30 | fout<<dp[n][g]<<endl;
| ^~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
