Borderou de evaluare (job #976254)

Utilizator dcarbunescucarbunescu dcarbunescu Data 22 iulie 2013 21:19:35
Problema Suma4 Status done
Runda Arhiva de probleme Compilator c | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.c: In function ‘alocareTablou’: user.c:59:13: warning: unused variable ‘n’ [-Wunused-variable] int k,j,n; ^ user.c: At top level: user.c:89:30: error: unknown type name ‘suma4’ void calculeazaCosturiCamere(suma4 *tablouri,int nrNivele) ^ user.c:126:1: error: unknown type name ‘punct’ punct getCoord(int nrOrdine,int niv) ^ user.c: In function ‘getCoord’: user.c:128:5: error: unknown type name ‘punct’ punct aux; ^ user.c:130:8: error: request for member ‘x’ in something not a structure or union aux.x=aux.y=0; ^ user.c:130:14: error: request for member ‘y’ in something not a structure or union aux.x=aux.y=0; ^ user.c:136:8: error: request for member ‘x’ in something not a structure or union aux.x = dif/(niv+1); ^ user.c:137:8: error: request for member ‘y’ in something not a structure or union aux.y = dif%(niv+1); ^ user.c: At top level: user.c:141:36: error: unknown type name ‘suma4’ void actualizeazaDrum(int drum[60],suma4 *tablouri,int x,int y,int nrNivele) ^ user.c:175:27: error: unknown type name ‘suma4’ void getDrum(int drum[60],suma4 *tablouri,int nrNivele,int *min) ^ user.c: In function ‘main’: user.c:214:5: error: unknown type name ‘suma4’ suma4 tablouri; ^ user.c:223:13: error: request for member ‘cost’ in something not a structure or union tablouri.cost = alocareTablou(nrNivele); ^ user.c:224:13: error: request for member ‘piramida’ in something not a structure or union tablouri.piramida = alocareTablou(nrNivele); ^ user.c:225:13: error: request for member ‘vecini’ in something not a structure or union tablouri.vecini = alocareTablou(nrNivele); ^ user.c:231:25: error: request for member ‘piramida’ in something not a structure or union tablouri.piramida[k][i][j] = costuriCamere[count++]; ^

Ceva nu functioneaza?