Borderou de evaluare (job #1251995)
Utilizator | Data | 30 octombrie 2014 10:18:56 | |
---|---|---|---|
Problema | Insule | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:7:6: error: two or more data types in declaration of ‘x’
char x;
^
user.cpp: In function ‘void coada1()’:
user.cpp:10:21: error: ‘n’ was not declared in this scope
for (int i=1;i<=n;i++)
^
user.cpp:11:25: error: ‘m’ was not declared in this scope
for (int j=1;j<=m;j++)
^
user.cpp:13:15: error: expected ‘(’ before ‘[’ token
if[a[i][j]==-1;
^
user.cpp:17:17: error: ‘q’ was not declared in this scope
q[0][1]=i;
^
user.cpp:23:39: error: ‘dx’ was not declared in this scope
int l=q[0][p]+dx[x];
^
user.cpp:24:34: error: invalid types ‘int[int]’ for array subscript
int c=x[1][p]+dy[x];
^
user.cpp:24:39: error: ‘dy’ was not declared in this scope
int c=x[1][p]+dy[x];
^
user.cpp:25:28: error: ‘a’ was not declared in this scope
if(a[l][c]==0)
^
user.cpp:28:33: error: ‘viz’ was not declared in this scope
if (viz[l][c]==0)
^
user.cpp:35:33: error: ‘viz’ was not declared in this scope
if (viz[l][c]>int Max)
^
user.cpp:35:43: error: expected primary-expression before ‘int’
if (viz[l][c]>int Max)
^
user.cpp:35:43: error: expected ‘)’ before ‘int’
user.cpp: In function ‘void coada(int, int, int)’:
user.cpp:48:5: error: ‘q’ was not declared in this scope
q[0][p]=x;
^
user.cpp:50:5: error: ‘a’ was not declared in this scope
a[x][y]=-k;
^
user.cpp:54:26: error: ‘dx’ was not declared in this scope
int l=q[0][p]+dx[i];
^
user.cpp:55:26: error: ‘dy’ was not declared in this scope
int c=q[1][p]+dy[i];
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !