Borderou de evaluare (job #1140968)

Utilizator ThomasFMI Suditu Thomas Thomas Data 12 martie 2014 13:39:58
Problema Ecuatii Status done
Runda Arhiva de probleme Compilator c | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.c:10:7: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘w1’ } far w1, far w2; ^ user.c:14:32: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token void sift(struct workspace far *w, int *hp, int i) ^ user.c:39:49: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token void init(int *hp, int *a, struct workspace far *w) ^ user.c:53:52: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token void extract(int *hp, int *a, struct workspace far *w) ^ user.c: In function ‘main’: user.c:84:2: warning: implicit declaration of function ‘init’ [-Wimplicit-function-declaration] init(h1, a, &w1); ^ user.c:84:15: error: ‘w1’ undeclared (first use in this function) init(h1, a, &w1); ^ user.c:84:15: note: each undeclared identifier is reported only once for each function it appears in user.c:85:19: error: ‘w2’ undeclared (first use in this function) init(h2, a + 3, &w2); ^ user.c:87:2: warning: implicit declaration of function ‘extract’ [-Wimplicit-function-declaration] extract(h1, a, &w1); ^ user.c:76:7: warning: variable ‘todo1’ set but not used [-Wunused-but-set-variable] long todo1, todo2, cnt = 0; ^

Ceva nu functioneaza?