Borderou de evaluare (job #1677430)

Utilizator Sergiu1256Ionita Sergiu1256 Data 6 aprilie 2016 16:09:52
Problema Problema rucsacului Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:2:3: error: ‘ifstream’ does not name a type ifstream fin("rucsac.in"); ^ user.cpp:3:5: error: ‘ofstream’ does not name a type ofstream fout("rucsac.out"); ^ user.cpp: In function ‘int main()’: user.cpp:11:5: error: ‘fin’ was not declared in this scope fin >> N >> G; ^ user.cpp:25:5: error: ‘fout’ was not declared in this scope fout << Pmax; ^

Ceva nu functioneaza?