Borderou de evaluare (job #1040329)
Utilizator | Data | 24 noiembrie 2013 13:45:10 | |
---|---|---|---|
Problema | Alee | 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:9:2: error: ‘ifstream’ was not declared in this scope
ifstream f("alee.in");
^
user.cpp:9:2: note: suggested alternative:
In file included from /usr/local/include/c++/4.8.0/ios:38:0,
from /usr/local/include/c++/4.8.0/ostream:38,
from /usr/local/include/c++/4.8.0/iostream:39,
from user.cpp:1:
/usr/local/include/c++/4.8.0/iosfwd:157:34: note: ‘std::ifstream’
typedef basic_ifstream<char> ifstream;
^
user.cpp:9:11: error: expected ‘;’ before ‘f’
ifstream f("alee.in");
^
user.cpp:10:2: error: ‘ofstream’ was not declared in this scope
ofstream g("alee.out");
^
user.cpp:10:2: note: suggested alternative:
In file included from /usr/local/include/c++/4.8.0/ios:38:0,
from /usr/local/include/c++/4.8.0/ostream:38,
from /usr/local/include/c++/4.8.0/iostream:39,
from user.cpp:1:
/usr/local/include/c++/4.8.0/iosfwd:160:34: note: ‘std::ofstream’
typedef basic_ofstream<char> ofstream;
^
user.cpp:10:11: error: expected ‘;’ before ‘g’
ofstream g("alee.out");
^
user.cpp:11:2: error: ‘f’ was not declared in this scope
f>>n>>m;
^
user.cpp:23:7: error: ‘l’ was not declared in this scope
{f>>l>>c;parc[l][c]=-1;}
^
user.cpp:23:10: error: ‘c’ was not declared in this scope
{f>>l>>c;parc[l][c]=-1;}
^
user.cpp:25:11: error: ‘l’ was not declared in this scope
i=0;parc[l][c]=0;coada[0].x=l;coada[0].y=c;
^
user.cpp:25:14: error: ‘c’ was not declared in this scope
i=0;parc[l][c]=0;coada[0].x=l;coada[0].y=c;
^
user.cpp:48:2: error: ‘g’ was not declared in this scope
g<<parc[l2][c2]+1;
^
user.cpp:48:10: error: ‘l2’ was not declared in this scope
g<<parc[l2][c2]+1;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !