Borderou de evaluare (job #2341028)

Utilizator black095Vlasin Bogdan black095 Data 11 februarie 2019 15:06:45
Problema A+B Status done
Runda sem2_1 Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int main()': main.cpp:6:5: error: 'ifstream' was not declared in this scope ifstream fin("adunare.in"); ^~~~~~~~ main.cpp:6:5: note: suggested alternative: In file included from /usr/include/c++/6/ios:38:0, from /usr/include/c++/6/ostream:38, from /usr/include/c++/6/iostream:39, from main.cpp:1: /usr/include/c++/6/iosfwd:162:34: note: 'std::ifstream' typedef basic_ifstream<char> ifstream; ^~~~~~~~ main.cpp:7:5: error: 'ofstream' was not declared in this scope ofstream fout("adunare.out"); ^~~~~~~~ main.cpp:7:5: note: suggested alternative: In file included from /usr/include/c++/6/ios:38:0, from /usr/include/c++/6/ostream:38, from /usr/include/c++/6/iostream:39, from main.cpp:1: /usr/include/c++/6/iosfwd:165:34: note: 'std::ofstream' typedef basic_ofstream<char> ofstream; ^~~~~~~~ main.cpp:8:5: error: 'fin' was not declared in this scope fin>>a; ^~~ main.cpp:10:5: error: 'fout' was not declared in this scope fout<<a+b; ^~~~ Non zero exit status: 1

Ceva nu functioneaza?