Borderou de evaluare (job #2014623)
Utilizator | Data | 24 august 2017 09:20:36 | |
---|---|---|---|
Problema | Divizori Primi | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:54:4: error: ‘ifstream’ was not declared in this scope
ifstream f("divprim.in");
^
user.cpp:54:4: note: suggested alternative:
In file included from /usr/include/c++/4.8/ios:38:0,
from /usr/include/c++/4.8/istream:38,
from /usr/include/c++/4.8/fstream:38,
from user.cpp:1:
/usr/include/c++/4.8/iosfwd:157:34: note: ‘std::ifstream’
typedef basic_ifstream<char> ifstream;
^
user.cpp:54:13: error: expected ‘;’ before ‘f’
ifstream f("divprim.in");
^
user.cpp:55:4: error: ‘ofstream’ was not declared in this scope
ofstream g("divprim.out");
^
user.cpp:55:4: note: suggested alternative:
In file included from /usr/include/c++/4.8/ios:38:0,
from /usr/include/c++/4.8/istream:38,
from /usr/include/c++/4.8/fstream:38,
from user.cpp:1:
/usr/include/c++/4.8/iosfwd:160:34: note: ‘std::ofstream’
typedef basic_ofstream<char> ofstream;
^
user.cpp:55:13: error: expected ‘;’ before ‘g’
ofstream g("divprim.out");
^
user.cpp:57:4: error: ‘f’ was not declared in this scope
f>>T;
^
user.cpp:62:7: error: ‘g’ was not declared in this scope
g<<find_number(N,K)<<"\n";
^
user.cpp:67:4: error: ‘g’ was not declared in this scope
g.close();
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !