Borderou de evaluare (job #1576109)
Utilizator | Data | 22 ianuarie 2016 08:47:40 | |
---|---|---|---|
Problema | Alee | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:3:1: error: ‘ifstream’ does not name a type
ifstream f("alee.in");
^
user.cpp:4:1: error: ‘ofstream’ does not name a type
ofstream g("alee.out");
^
user.cpp:11:1: error: ‘queue’ does not name a type
queue < pair < int,int > coada;
^
user.cpp: In function ‘void Read()’:
user.cpp:14:5: error: ‘f’ was not declared in this scope
{ f>>N>>M;
^
user.cpp:14:8: error: ‘N’ was not declared in this scope
{ f>>N>>M;
^
user.cpp:14:11: error: ‘M’ was not declared in this scope
{ f>>N>>M;
^
user.cpp: In function ‘bool OK(int, int)’:
user.cpp:24:25: error: ‘N’ was not declared in this scope
{ if( i<1 || j<1 || i>N || j>N) return false;
^
user.cpp: In function ‘void Lee()’:
user.cpp:32:5: error: ‘coada’ was not declared in this scope
coada.push(make_pair(startx,starty));
^
user.cpp:32:39: error: ‘make_pair’ was not declared in this scope
coada.push(make_pair(startx,starty));
^
user.cpp:32:39: note: suggested alternative:
In file included from /usr/include/c++/4.8/bits/stl_algobase.h:64:0,
from /usr/include/c++/4.8/bits/char_traits.h:39,
from /usr/include/c++/4.8/ios:40,
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/bits/stl_pair.h:276:5: note: ‘std::make_pair’
make_pair(_T1&& __x, _T2&& __y)
^
user.cpp:38:13: error: ‘i_urmatoar’ was not declared in this scope
{ i_urmatoar=i+di[d];
^
user.cpp: In function ‘int main()’:
user.cpp:52:5: error: ‘g’ was not declared in this scope
g<<Map[stopx][stopy];
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !