Borderou de evaluare (job #1487629)
| Utilizator | Data | 17 septembrie 2015 10:12:24 | |
|---|---|---|---|
| Problema | Lanterna | Status | done |
| Runda | Arhiva de probleme | Compilator | c | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Eroare de compilare:
user.c: In function ‘A’:
user.c:11:20: error: ‘u’ redeclared as different kind of symbol
int i,j,k,p,q,z,x,u;
^
user.c:10:18: note: previous definition of ‘u’ was here
int A(int h,int *u[]) {
^
user.c:14:10: error: subscripted value is neither array nor pointer nor vector
u[i][j]=30000;
^
user.c:15:3: error: subscripted value is neither array nor pointer nor vector
u[1][0]=C[0].k=x=u=0,d[1][0]=C[0].i=1,z=30000;
^
user.c:15:10: error: ‘C’ undeclared (first use in this function)
u[1][0]=C[0].k=x=u=0,d[1][0]=C[0].i=1,z=30000;
^
user.c:15:10: note: each undeclared identifier is reported only once for each function it appears in
user.c:15:22: warning: left-hand operand of comma expression has no effect [-Wunused-value]
u[1][0]=C[0].k=x=u=0,d[1][0]=C[0].i=1,z=30000;
^
user.c:15:39: warning: left-hand operand of comma expression has no effect [-Wunused-value]
u[1][0]=C[0].k=x=u=0,d[1][0]=C[0].i=1,z=30000;
^
user.c:17:11: warning: left-hand operand of comma expression has no effect [-Wunused-value]
i=C[x].i,k=C[x++].k;
^
user.c:18:13: error: subscripted value is neither array nor pointer nor vector
if(u[i][k]<z)
^
user.c:21:8: error: subscripted value is neither array nor pointer nor vector
p=u[i][k]+t[i][j],q=k+w[i][j];
^
user.c:21:22: warning: left-hand operand of comma expression has no effect [-Wunused-value]
p=u[i][k]+t[i][j],q=k+w[i][j];
^
user.c:24:23: error: subscripted value is neither array nor pointer nor vector
if(p<u[j][q]) {
^
user.c:25:7: error: subscripted value is neither array nor pointer nor vector
u[j][q]=p;
^
user.c:26:31: error: subscripted value is neither array nor pointer nor vector
if(j==n&&u[j][q]<z)
^
user.c:27:28: error: subscripted value is neither array nor pointer nor vector
z=u[j][q];
^
user.c:28:35: error: subscripted value is neither array nor pointer nor vector
if(!d[j][q]&&u[j][q]<z)
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
