Borderou de evaluare (job #2144498)
Utilizator | Data | 26 februarie 2018 19:33:18 | |
---|---|---|---|
Problema | Luffpar | 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:35:2: error: ‘ifstream’ was not declared in this scope
ifstream fIn("luffpar.in");
^
user.cpp:35:2: note: suggested alternative:
In file included from /usr/include/c++/5/ios:38:0,
from /usr/include/c++/5/istream:38,
from /usr/include/c++/5/fstream:38,
from user.cpp:1:
/usr/include/c++/5/iosfwd:162:34: note: ‘std::ifstream’
typedef basic_ifstream<char> ifstream;
^
user.cpp:36:2: error: ‘ofstream’ was not declared in this scope
ofstream fOut("luffpar.out");
^
user.cpp:36:2: note: suggested alternative:
In file included from /usr/include/c++/5/ios:38:0,
from /usr/include/c++/5/istream:38,
from /usr/include/c++/5/fstream:38,
from user.cpp:1:
/usr/include/c++/5/iosfwd:165:34: note: ‘std::ofstream’
typedef basic_ofstream<char> ofstream;
^
user.cpp:37:2: error: ‘fIn’ was not declared in this scope
fIn >> n;
^
user.cpp:52:4: error: ‘fOut’ was not declared in this scope
fOut << LuffparType2(l, r) << '\n';
^
user.cpp:57:2: error: ‘fOut’ was not declared in this scope
fOut.close();
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !