Borderou de evaluare (job #1481406)

Utilizator silviu982001Borsan Silviu silviu982001 Data 4 septembrie 2015 13:32:45
Problema Stramosi Status done
Runda Arhiva de probleme Compilator c | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.c:12:1: error: unknown type name ‘nod’ { long nd; nod *next; } *L[dim], *X[dim]; ^ user.c:15:1: error: unknown type name ‘list’ { long ac, c; list *next; } *Sol[dim]; ^ user.c:21:13: error: unknown type name ‘nod’ void addNod(nod *&, long); ^ user.c: In function ‘read’: user.c:45:20: warning: implicit declaration of function ‘addNod’ [-Wimplicit-function-declaration] addNod(L[j], i); ^ user.c: In function ‘Df’: user.c:64:6: error: unknown type name ‘nod’ nod *x = L[nd]; ^ user.c:64:15: warning: initialization from incompatible pointer type [enabled by default] nod *x = L[nd]; ^ user.c:65:6: error: unknown type name ‘nod’ nod *y; ^ user.c:69:21: error: request for member ‘nd’ in something not a structure or union if(Uz[x->nd] != '1') ^ user.c:71:34: error: request for member ‘nd’ in something not a structure or union y = X[x->nd]; ^ user.c:75:43: error: request for member ‘nd’ in something not a structure or union if(niv-y->nd+1 >= 1) ^ user.c:77:56: error: request for member ‘nd’ in something not a structure or union long ret = lv[niv-y->nd+1]; ^ user.c:78:37: error: unknown type name ‘list’ list *p = new list; ^ user.c:78:47: error: ‘new’ undeclared (first use in this function) list *p = new list; ^ user.c:78:47: note: each undeclared identifier is reported only once for each function it appears in user.c:78:51: error: expected ‘,’ or ‘;’ before ‘list’ list *p = new list; ^ user.c:79:38: error: request for member ‘ac’ in something not a structure or union p->ac = y->nd; ^ user.c:79:46: error: request for member ‘nd’ in something not a structure or union p->ac = y->nd;

Ceva nu functioneaza?