Borderou de evaluare (job #953963)
| Utilizator | Data | 27 mai 2013 21:23:48 | |
|---|---|---|---|
| Problema | Ecuatii | Status | done |
| Runda | Arhiva de probleme | Compilator | c | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Eroare de compilare:
user.c:1:0: warning: ignoring #pragma option [-Wunknown-pragmas]
#pragma option -3 -r -Z -O2 -a
^
user.c:12:7: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘w1’
} far w1, far w2;
^
user.c:16:32: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
void sift(struct workspace far *w, int *hp, int i)
^
user.c:41:49: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
void init(int *hp, int *a, struct workspace far *w)
^
user.c:55:52: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
void extract(int *hp, int *a, struct workspace far *w)
^
user.c: In function ‘main’:
user.c:86:2: warning: implicit declaration of function ‘init’ [-Wimplicit-function-declaration]
init(h1, a, &w1);
^
user.c:86:15: error: ‘w1’ undeclared (first use in this function)
init(h1, a, &w1);
^
user.c:86:15: note: each undeclared identifier is reported only once for each function it appears in
user.c:87:19: error: ‘w2’ undeclared (first use in this function)
init(h2, a + 3, &w2);
^
user.c:89:2: warning: implicit declaration of function ‘extract’ [-Wimplicit-function-declaration]
extract(h1, a, &w1);
^
user.c:78:7: warning: variable ‘todo1’ set but not used [-Wunused-but-set-variable]
long todo1, todo2, cnt = 0;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
