Borderou de evaluare (job #2191143)

Utilizator TonuMihaelaTonu Mihaela TonuMihaela Data 1 aprilie 2018 19:55:12
Problema Problema rucsacului Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:4:1: error: expected ‘,’ or ‘;’ before ‘ofstream’ ofstream fout("rucsac.out") ^~~~~~~~ user.cpp: In function ‘int main()’: user.cpp:8:9: error: ‘n’ was not declared in this scope fin >> n; ^ user.cpp:9:9: error: ‘gr’ was not declared in this scope fin >> gr; ^~ user.cpp:21:2: error: ‘fout’ was not declared in this scope fout << d[n][gr]; ^~~~

Ceva nu functioneaza?