Borderou de evaluare (job #2745020)

Utilizator xaresxEpuran Mihnea-Gabriel xaresx Data 25 aprilie 2021 18:53:03
Problema A+B Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:1:10: error: #include expects "FILENAME" or <FILENAME> #include (fstream.h) ^ main.cpp:2:1: error: 'ifstream' does not name a type ifstream f("adunare.in"); ^~~~~~~~ main.cpp:3:1: error: 'ofstream' does not name a type ofstream g("adunare.out"); ^~~~~~~~ main.cpp: In function 'int main()': main.cpp:7:1: error: 'f' was not declared in this scope f>>a>>b; ^ main.cpp:8:1: error: 'g' was not declared in this scope g<<a+b; ^ Non zero exit status: 1

Ceva nu functioneaza?