Borderou de evaluare (job #1787509)
Utilizator | Data | 24 octombrie 2016 19:23:31 | |
---|---|---|---|
Problema | Panda | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:19:1: error: expected initializer before ‘char’
char b[505][505];
^
user.cpp: In function ‘void validare()’:
user.cpp:35:15: error: ‘a’ was not declared in this scope
if (valid(a[l][c])) {k++;if (b[l][c]!=2) b[l][c]=1;}
^
user.cpp:35:34: error: ‘b’ was not declared in this scope
if (valid(a[l][c])) {k++;if (b[l][c]!=2) b[l][c]=1;}
^
user.cpp:36:14: error: ‘b’ was not declared in this scope
else if (b[l][c]==2) b[l][c]=0;
^
user.cpp: In function ‘int main()’:
user.cpp:45:31: error: ‘a’ was not declared in this scope
for (c=1;c<=nc;c++) fi>>a[l][c];
^
user.cpp:46:25: error: ‘b’ was not declared in this scope
for (i=1;i<=nt;i++) b[tarc[i].lin][tarc[i].col]=2;
^
user.cpp:48:15: error: ‘a’ was not declared in this scope
if (valid(a[lini][cini])) k--;
^
user.cpp:62:13: error: ‘b’ was not declared in this scope
if (b[v1.lin][v1.col]==2 and (d==0 or v1.dist==d))
^
user.cpp:68:9: error: ‘b’ was not declared in this scope
b[v1.lin][v1.col]=0;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !