Borderou de evaluare (job #2005477)
Utilizator | Data | 27 iulie 2017 11:07:20 | |
---|---|---|---|
Problema | 2Numere | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:6:1: error: ‘ifstream’ does not name a type
ifstream f("2numere.in");
^
user.cpp:7:1: error: ‘ofstream’ does not name a type
ofstream fout("2numere.out");
^
user.cpp: In function ‘int main()’:
user.cpp:23:2: error: ‘f’ was not declared in this scope
f>>n;
^
user.cpp:146:1: error: ‘fout’ was not declared in this scope
fout<<a1sol<<endl;
^
user.cpp:146:14: error: ‘endl’ was not declared in this scope
fout<<a1sol<<endl;
^
user.cpp:146:14: note: suggested alternative:
In file included from /usr/include/c++/4.8/istream:39:0,
from /usr/include/c++/4.8/fstream:38,
from user.cpp:1:
/usr/include/c++/4.8/ostream:564:5: note: ‘std::endl’
endl(basic_ostream<_CharT, _Traits>& __os)
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !