Borderou de evaluare (job #2270214)
Utilizator | Data | 27 octombrie 2018 10:08:57 | |
---|---|---|---|
Problema | Pesti | Status | done |
Runda | evaluare_cex_sv_cls_x_2018 | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:11:5: error: 'ifstream' was not declared in this scope
ifstream f("pesti.in");
^~~~~~~~
main.cpp:11: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:12:5: error: 'ofstream' was not declared in this scope
ofstream g("pesti.out");
^~~~~~~~
main.cpp:12: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:14:5: error: 'f' was not declared in this scope
f>>n>>x;
^
main.cpp:44:5: error: 'g' was not declared in this scope
g<<z<<' '<<x<<' '<<zi<<'\n';
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !