Borderou de evaluare (job #1873185)
Utilizator | Data | 8 februarie 2017 20:34:11 | |
---|---|---|---|
Problema | Paralelogram2 | Status | done |
Runda | Arhiva ICPC | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:5:5: error: ‘ifstream’ was not declared in this scope
ifstream f("paralelogram2.in");
^
user.cpp:5:5: 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:5:14: error: expected ‘;’ before ‘f’
ifstream f("paralelogram2.in");
^
user.cpp:6:5: error: ‘ofstream’ was not declared in this scope
ofstream g("paralelogram2.out");
^
user.cpp:6:5: 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:6:14: error: expected ‘;’ before ‘g’
ofstream g("paralelogram2.out");
^
user.cpp:11:5: error: ‘f’ was not declared in this scope
f >> T;
^
user.cpp:20:17: error: ‘g’ was not declared in this scope
g << x;
^
user.cpp:26:17: error: ‘g’ was not declared in this scope
g << y << ' ';
^
user.cpp:35:17: error: ‘g’ was not declared in this scope
g << x << ' ';
^
user.cpp:37:17: error: ‘g’ was not declared in this scope
g << y << ' ';
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !