Borderou de evaluare (job #1675063)
Utilizator | Data | 5 aprilie 2016 08:34:28 | |
---|---|---|---|
Problema | Alee | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:11:9: error: expected ‘]’ before ‘,’ token
int xd[0,1,-1,0];
^
user.cpp:11:10: error: expected unqualified-id before numeric constant
int xd[0,1,-1,0];
^
user.cpp:12:9: error: expected ‘]’ before ‘,’ token
int yd[1,0,0,-1];
^
user.cpp:12:10: error: expected unqualified-id before numeric constant
int yd[1,0,0,-1];
^
user.cpp: In function ‘int main()’:
user.cpp:16:10: error: ‘n’ was not declared in this scope
fin>>n;
^
user.cpp:17:10: error: ‘m’ was not declared in this scope
fin>>m;
^
user.cpp:20:14: error: ‘x’ was not declared in this scope
fin>>x>>y;
^
user.cpp:20:17: error: ‘y’ was not declared in this scope
fin>>x>>y;
^
user.cpp:21:9: error: ‘a’ was not declared in this scope
a[x][y] = -1;
^
user.cpp:23:10: error: ‘x1’ was not declared in this scope
fin>>x1>>y1;
^
user.cpp:23:14: error: ‘y1’ was not declared in this scope
fin>>x1>>y1;
^
user.cpp:24:10: error: ‘x2’ was not declared in this scope
fin>>x2>>y2;
^
user.cpp:24:14: error: ‘y2’ was not declared in this scope
fin>>x2>>y2;
^
user.cpp:26:5: error: ‘a’ was not declared in this scope
a[x1][y1] = 1;
^
user.cpp:29:13: error: no match for ‘operator=’ (operand types are ‘std::pair<int, int>’ and ‘int’)
aux = q.front();
^
user.cpp:29:13: note: candidates are:
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,
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !