Borderou de evaluare (job #2197835)

Utilizator ethical13Buicu Ionut Gabriel ethical13 Data 22 aprilie 2018 22:26:47
Problema CMMDC Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:3:1: error: ‘ifstream’ does not name a type ifstream f("cmmdc.in"); ^~~~~~~~ user.cpp:4:1: error: ‘ofstream’ does not name a type ofstream g("cmmdc.out"); ^~~~~~~~ user.cpp: In function ‘int main()’: user.cpp:9:3: error: ‘f’ was not declared in this scope f>>a>>b; ^ user.cpp:17:10: error: ‘g’ was not declared in this scope if(b==1) g<< "0"; ^ user.cpp:18:10: error: ‘g’ was not declared in this scope else g<<b; ^

Ceva nu functioneaza?