Borderou de evaluare (job #1770418)
Utilizator | Data | 4 octombrie 2016 12:01:31 | |
---|---|---|---|
Problema | Muzeu | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:51:10: error: cannot convert ‘poz’ to ‘int’ in assignment
x=q[p++];
^
user.cpp:54:13: error: ‘y’ was not declared in this scope
y.l=x.l+dl[i];
^
user.cpp:54:19: error: request for member ‘l’ in ‘x’, which is of non-class type ‘int’
y.l=x.l+dl[i];
^
user.cpp:55:19: error: request for member ‘c’ in ‘x’, which is of non-class type ‘int’
y.c=x.c+dc[i];
^
user.cpp:58:35: error: request for member ‘l’ in ‘x’, which is of non-class type ‘int’
d[y.l][y.c]=1+d[x.l][x.c]
^
user.cpp:58:40: error: request for member ‘c’ in ‘x’, which is of non-class type ‘int’
d[y.l][y.c]=1+d[x.l][x.c]
^
user.cpp:59:17: error: expected ‘;’ before ‘q’
q[++u]=y;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !