Borderou de evaluare (job #1471365)
| Utilizator | Data | 13 august 2015 17:31:09 | |
|---|---|---|---|
| Problema | Trie | Status | done |
| Runda | Arhiva educationala | Compilator | c | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Eroare de compilare:
user.c:8:1: warning: useless storage class specifier in empty declaration [enabled by default]
};
^
user.c:4:11: error: unknown type name ‘M’
#define N M
^
user.c:9:8: note: in expansion of macro ‘N’
void A(N *s,char *l) {
^
user.c:4:11: error: unknown type name ‘M’
#define N M
^
user.c:18:1: note: in expansion of macro ‘N’
N *t=(N*)malloc(26*sizeof(N));
^
user.c:4:11: error: ‘M’ undeclared here (not in a function)
#define N M
^
user.c:18:7: note: in expansion of macro ‘N’
N *t=(N*)malloc(26*sizeof(N));
^
user.c:18:9: error: expected expression before ‘)’ token
N *t=(N*)malloc(26*sizeof(N));
^
user.c:4:11: error: expected declaration specifiers or ‘...’ before ‘M’
#define N M
^
user.c:19:7: note: in expansion of macro ‘N’
int D(N *s,char *l) {
^
user.c:4:11: error: expected declaration specifiers or ‘...’ before ‘M’
#define N M
^
user.c:30:7: note: in expansion of macro ‘N’
int C(N *s,char *l) {
^
user.c:4:11: error: expected declaration specifiers or ‘...’ before ‘M’
#define N M
^
user.c:37:7: note: in expansion of macro ‘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:43:10: warning: implicit declaration of function ‘A’ [-Wimplicit-function-declaration]
A(t,l+2);
^
user.c:45:13: warning: implicit declaration of function ‘D’ [-Wimplicit-function-declaration]
D(t,l+2);
^
user.c:47:13: warning: implicit declaration of function ‘C’ [-Wimplicit-function-declaration]
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
