Borderou de evaluare (job #1927287)

Utilizator alex273Groza Alexandru alex273 Data 15 martie 2017 00:21:35
Problema A+B Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:4:1: error: ‘ifstream’ does not name a type ifstream f("adunare.in"); ^ user.cpp:5:1: error: ‘ofstream’ does not name a type ofstream g("adunare.out"); ^ user.cpp:7:7: warning: ISO C++ forbids declaration of ‘main’ with no type [-Wreturn-type] main () ^ user.cpp: In function ‘int main()’: user.cpp:10:1: error: ‘f’ was not declared in this scope f>>a>>b; ^ user.cpp:12:1: error: ‘g’ was not declared in this scope g<<c ; ^

Ceva nu functioneaza?