Borderou de evaluare (job #3180180)

Utilizator info_manDavid Patrick info_man Data 4 decembrie 2023 19:32:38
Problema A+B Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:3:1: error: 'ifstream' does not name a type 3 | ifstream fin("adunare.in"); | ^~~~~~~~ main.cpp:4:1: error: 'ofstream' does not name a type 4 | ofstream fout ("adunare.out"); | ^~~~~~~~ main.cpp: In function 'int main()': main.cpp:10:5: error: 'fin' was not declared in this scope 10 | fin >> a >> b; | ^~~ main.cpp:13:5: error: 'fout' was not declared in this scope 13 | fout << s << endl; | ^~~~ main.cpp:13:13: error: 's' was not declared in this scope 13 | fout << s << endl; | ^ main.cpp:14:5: error: 'close' was not declared in this scope; did you mean 'pclose'? 14 | close fout() | ^~~~~ | pclose Non zero exit status: 1

Ceva nu functioneaza?