Borderou de evaluare (job #1952080)
Utilizator | Data | 3 aprilie 2017 22:28:48 | |
---|---|---|---|
Problema | Sate | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:2:1: error: ‘ifstream’ does not name a type
ifstream f("sate.in");
^
user.cpp:3:1: error: ‘ofstream’ does not name a type
ofstream g("sate.out");
^
user.cpp: In function ‘int main()’:
user.cpp:11:1: error: ‘f’ was not declared in this scope
f>>n>>m>>x>>y;
^
user.cpp:19:1: error: ‘ifstream’ was not declared in this scope
ifstream f("sate.in");
^
user.cpp:19:1: 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/sstream:38,
from /usr/include/c++/4.8/complex:45,
from /usr/include/c++/4.8/ccomplex:38,
from /usr/include/i386-linux-gnu/c++/4.8/bits/stdc++.h:52,
from user.cpp:1:
/usr/include/c++/4.8/iosfwd:157:34: note: ‘std::ifstream’
typedef basic_ifstream<char> ifstream;
^
user.cpp:19:10: error: expected ‘;’ before ‘f’
ifstream f("sate.in");
^
user.cpp:74:1: error: ‘g’ was not declared in this scope
g<<c[1][u];
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !