Borderou de evaluare (job #1017710)
Utilizator | Data | 28 octombrie 2013 09:59:49 | |
---|---|---|---|
Problema | Regine2 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:4:34: error: scalar object ‘dx’ requires one element in initializer
const int dx= {-1,1,0,0,-1,-1,1,1};
^
user.cpp:5:34: error: scalar object ‘dy’ requires one element in initializer
const int dy= {0,-1,1,0,-1,1,-1,1};
^
user.cpp: In function ‘void regina(int, int)’:
user.cpp:9:10: error: ‘i’ was not declared in this scope
for (i=0; i<=7; i++)
^
user.cpp:11:9: error: ‘xx’ was not declared in this scope
xx=x+dx[i];
^
user.cpp:12:9: error: ‘yy’ was not declared in this scope
yy=y+dy[i]
^
user.cpp:13:9: error: expected ‘;’ before ‘while’
while (a[xx][yy]!=-1)
^
user.cpp:20:9: error: ‘v’ was not declared in this scope
v[x][y][0].x=k;
^
user.cpp: In function ‘void back(int)’:
user.cpp:25:9: error: ‘y’ was not declared in this scope
if (y>n)
^
user.cpp:25:11: error: ‘n’ was not declared in this scope
if (y>n)
^
user.cpp:27:9: error: ‘yy’ was not declared in this scope
yy=y+1;
^
user.cpp:28:9: error: ‘xx’ was not declared in this scope
xx=x;
^
user.cpp:28:12: error: ‘x’ was not declared in this scope
xx=x;
^
user.cpp:32:9: error: ‘xx’ was not declared in this scope
xx=x+1;
^
user.cpp:32:12: error: ‘x’ was not declared in this scope
xx=x+1;
^
user.cpp:33:9: error: ‘yy’ was not declared in this scope
yy=1;
^
user.cpp:35:9: error: ‘a’ was not declared in this scope
if (a[x][y]==)
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !