Borderou de evaluare (job #2836007)

Utilizator jdanBirleanu Daniel jdan Data 19 ianuarie 2022 17:17:25
Problema A+B Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:2:1: error: 'ifstream' does not name a type 2 | ifstream f("adunare.in"); ofstream g("adunare.out"); | ^~~~~~~~ main.cpp:2:27: error: 'ofstream' does not name a type 2 | ifstream f("adunare.in"); ofstream g("adunare.out"); | ^~~~~~~~ main.cpp: In function 'int main()': main.cpp:3:20: error: 'f' was not declared in this scope 3 | int main(){int a,b;f>>a>>b;g<<a+b;} | ^ main.cpp:3:28: error: 'g' was not declared in this scope 3 | int main(){int a,b;f>>a>>b;g<<a+b;} | ^ Non zero exit status: 1

Ceva nu functioneaza?