Borderou de evaluare (job #1472620)
Utilizator | Data | 17 august 2015 14:21:13 | |
---|---|---|---|
Problema | Aho-Corasick | Status | done |
Runda | Arhiva educationala | Compilator | c | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.c: In function ‘A’:
user.c:48:13: error: ‘e’ undeclared (first use in this function)
e[w->d[j]]=w->m;
^
user.c:48:13: note: each undeclared identifier is reported only once for each function it appears in
user.c: In function ‘main’:
user.c:53:5: error: ‘t’ undeclared (first use in this function)
t=new ac;
^
user.c:53:7: error: ‘new’ undeclared (first use in this function)
t=new ac;
^
user.c:53:11: error: expected ‘;’ before ‘ac’
t=new ac;
^
user.c:56:9: warning: left-hand operand of comma expression has no effect [-Wunused-value]
B(t),p=t,g=strlen(x);
^
user.c:56:13: warning: left-hand operand of comma expression has no effect [-Wunused-value]
B(t),p=t,g=strlen(x);
^
user.c:63:13: warning: left-hand operand of comma expression has no effect [-Wunused-value]
for(A(t),i=1;i<=n;++i)
^
user.c:64:23: error: ‘e’ undeclared (first use in this function)
printf("%d\n",e[i]);
^
user.c:52:12: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ahocorasick.in","r",stdin),freopen("ahocorasick.out","w",stdout),scanf("%s",x),scanf("%d",&n);
^
user.c:52:48: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ahocorasick.in","r",stdin),freopen("ahocorasick.out","w",stdout),scanf("%s",x),scanf("%d",&n);
^
user.c:52:84: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ahocorasick.in","r",stdin),freopen("ahocorasick.out","w",stdout),scanf("%s",x),scanf("%d",&n);
^
user.c:52:98: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ahocorasick.in","r",stdin),freopen("ahocorasick.out","w",stdout),scanf("%s",x),scanf("%d",&n);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !