Borderou de evaluare (job #2227521)

Utilizator Lidia10Andrei Lidia Lidia10 Data 31 iulie 2018 23:39:12
Problema A+B Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:3:2: error: ‘ifstream’ does not name a type ifstream f("adunare.in"); ^~~~~~~~ user.cpp:4:2: error: ‘ofstream’ does not name a type ofstream g("adunare.out"); ^~~~~~~~ user.cpp: In function ‘int main()’: user.cpp:10:8: error: ‘f’ was not declared in this scope f>>A>>B; ^ user.cpp:11:8: error: ‘g’ was not declared in this scope g<<A+B; ^ user.cpp:7:15: warning: unused variable ‘S’ [-Wunused-variable] { int A,B,S; ^

Ceva nu functioneaza?