Borderou de evaluare (job #1471334)
| Utilizator | Data | 13 august 2015 16:56:08 | |
|---|---|---|---|
| Problema | Trie | Status | done |
| Runda | Arhiva educationala | Compilator | c | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Eroare de compilare:
user.c:6:2: error: unknown type name ‘N’
N *f[26];
^
user.c:7:1: warning: useless storage class specifier in empty declaration [enabled by default]
};
^
user.c:9:1: error: unknown type name ‘N’
N *t;
^
user.c:10:8: error: unknown type name ‘N’
void A(N *s,char *l) {
^
user.c:19:7: error: unknown type name ‘N’
int D(N *s,char *l) {
^
user.c:30:7: error: unknown type name ‘N’
int C(N *s,char *l) {
^
user.c:37:7: error: unknown type name ‘N’
int E(N *s,char *l,int k) { return (*l=='\n'||!s->f[*l-'a'])?k:E(s->f[*l-'a'],l+1,k+1); }
^
user.c: In function ‘main’:
user.c:40:5: error: ‘N’ undeclared (first use in this function)
t=(N*)malloc(sizeof(N));
^
user.c:40:5: note: each undeclared identifier is reported only once for each function it appears in
user.c:40:7: error: expected expression before ‘)’ token
t=(N*)malloc(sizeof(N));
^
user.c:41:3: error: request for member ‘c’ in something not a structure or union
t->c=t->n=0,memset(t->f,0,sizeof(t->f));
^
user.c:41:8: error: request for member ‘n’ in something not a structure or union
t->c=t->n=0,memset(t->f,0,sizeof(t->f));
^
user.c:41:22: error: request for member ‘f’ in something not a structure or union
t->c=t->n=0,memset(t->f,0,sizeof(t->f));
^
user.c:41:36: error: request for member ‘f’ in something not a structure or union
t->c=t->n=0,memset(t->f,0,sizeof(t->f));
^
user.c:41:13: warning: left-hand operand of comma expression has no effect [-Wunused-value]
t->c=t->n=0,memset(t->f,0,sizeof(t->f));
^
user.c:45:10: warning: implicit declaration of function ‘A’ [-Wimplicit-function-declaration]
A(t,l+2);
^
user.c:47:13: warning: implicit declaration of function ‘D’ [-Wimplicit-function-declaration]
D(t,l+2);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
