Borderou de evaluare (job #1472660)
Utilizator | Data | 17 august 2015 15:10:27 | |
---|---|---|---|
Problema | Aho-Corasick | Status | done |
Runda | Arhiva educationala | Compilator | c | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.c: In function ‘bfs’:
user.c:28:5: error: unknown type name ‘ac’
ac *dolar;
^
user.c:31:9: error: unknown type name ‘ac’
ac *fr=q[ic];
^
user.c:31:16: warning: initialization from incompatible pointer type [enabled by default]
ac *fr=q[ic];
^
user.c:33:14: error: request for member ‘f’ in something not a structure or union
if(fr->f[i]) {
^
user.c:34:25: error: request for member ‘fail’ in something not a structure or union
for(dolar=fr->fail;dolar!=t && dolar->f[i]==NULL;dolar=dolar->fail);
^
user.c:34:37: warning: comparison of distinct pointer types lacks a cast [enabled by default]
for(dolar=fr->fail;dolar!=t && dolar->f[i]==NULL;dolar=dolar->fail);
^
user.c:34:49: error: request for member ‘f’ in something not a structure or union
for(dolar=fr->fail;dolar!=t && dolar->f[i]==NULL;dolar=dolar->fail);
^
user.c:34:73: error: request for member ‘fail’ in something not a structure or union
for(dolar=fr->fail;dolar!=t && dolar->f[i]==NULL;dolar=dolar->fail);
^
user.c:35:21: error: request for member ‘f’ in something not a structure or union
if(dolar->f[i]!=NULL&&dolar->f[i]!=fr->f[i])
^
user.c:35:40: error: request for member ‘f’ in something not a structure or union
if(dolar->f[i]!=NULL&&dolar->f[i]!=fr->f[i])
^
user.c:35:50: error: request for member ‘f’ in something not a structure or union
if(dolar->f[i]!=NULL&&dolar->f[i]!=fr->f[i])
^
user.c:36:28: error: request for member ‘f’ in something not a structure or union
dolar=dolar->f[i];
^
user.c:37:15: error: request for member ‘f’ in something not a structure or union
fr->f[i]->fail=dolar,q[++sc]=fr->f[i];
^
user.c:37:44: error: request for member ‘f’ in something not a structure or union
fr->f[i]->fail=dolar,q[++sc]=fr->f[i];
^
user.c:37:33: warning: left-hand operand of comma expression has no effect [-Wunused-value]
fr->f[i]->fail=dolar,q[++sc]=fr->f[i];
^
user.c: In function ‘antibfs’:
user.c:44:9: error: unknown type name ‘ac’
ac *fr=q[i];
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !