Borderou de evaluare (job #1736238)

Utilizator delia_ioanaCeapa Delia Ioana delia_ioana Data 1 august 2016 14:24:17
Problema Problema rucsacului Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int main()’: user.cpp:10:11: error: aggregate ‘std::ifstream infile’ has incomplete type and cannot be defined ifstream infile; ^ user.cpp:12:11: error: aggregate ‘std::ofstream outfile’ has incomplete type and cannot be defined ofstream outfile; ^ user.cpp:34:20: error: ‘endl’ was not declared in this scope outfile << max << endl; ^

Ceva nu functioneaza?