Borderou de evaluare (job #1487626)
| Utilizator | Data | 17 septembrie 2015 10:10:58 | |
|---|---|---|---|
| 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: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)
^
user.c:29:45: warning: left-hand operand of comma expression has no effect [-Wunused-value]
d[j][q]=1,C[++u].i=j,C[u].k=q;
^
user.c: In function ‘main’:
user.c:48:2: error: ‘C’ undeclared (first use in this function)
C=(E*)malloc(50000*sizeof(E));
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
