Borderou de evaluare (job #2621687)
Utilizator | Data | 30 mai 2020 17:14:20 | |
---|---|---|---|
Problema | A+B | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:8:1: error: 'ifstream' was not declared in this scope
ifstream fin;
^~~~~~~~
main.cpp:8:1: 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:9:3: error: 'ofstream' was not declared in this scope
ofstream fout;
^~~~~~~~
main.cpp:9:3: 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:10:1: error: 'fin' was not declared in this scope
fin.open("adunare.in");
^~~
main.cpp:14:1: error: 'fout' was not declared in this scope
fout.open("adunare.out");
^~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !