Borderou de evaluare (job #2195489)

Utilizator BrejeMihaiBreje Mihai BrejeMihai Data 16 aprilie 2018 15:37:08
Problema Combinari Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:4:5: error: ‘ifstream’ does not name a type ifstream f; ^~~~~~~~ user.cpp:5:5: error: ‘f’ does not name a type f.open("combinari.in"); ^ user.cpp:6:5: error: ‘ofstream’ does not name a type ofstream g; ^~~~~~~~ user.cpp:7:5: error: ‘g’ does not name a type g.open("combinari.out"); ^ user.cpp: In function ‘void bkt(int, int, int)’: user.cpp:22:25: error: ‘g’ was not declared in this scope g << v[j] << " "; ^ user.cpp:24:19: error: ‘g’ was not declared in this scope g << "\n"; ^ user.cpp: In function ‘int main()’: user.cpp:32:5: error: ‘f’ was not declared in this scope f >> n >> k; ^

Ceva nu functioneaza?