Borderou de evaluare (job #1473181)

Utilizator stoianmihailStoian Mihail stoianmihail Data 18 august 2015 19:29:25
Problema Virus Status done
Runda Arhiva de probleme Compilator c | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.c:15:5: error: unknown type name ‘trie’ trie *fail, *child[SIGMA + 1] ; ^ user.c:16:5: error: expected specifier-qualifier-list before ‘trie’ trie() { ^ user.c:27:1: error: unknown type name ‘trie’ trie *result[Dragoste], *Q[Smerenie * Dragoste], *root = new trie; ^ user.c:27:58: error: ‘new’ undeclared here (not in a function) trie *result[Dragoste], *Q[Smerenie * Dragoste], *root = new trie; ^ user.c:27:62: error: expected ‘,’ or ‘;’ before ‘trie’ trie *result[Dragoste], *Q[Smerenie * Dragoste], *root = new trie; ^ user.c:30:10: error: unknown type name ‘trie’ void add(trie *u, char *v, int i) { ^ user.c: In function ‘bfs’: user.c:45:19: error: request for member ‘fail’ in something not a structure or union Q[qtail] = root -> fail = root; ^ user.c:47:5: error: unknown type name ‘trie’ trie *u = Q[qhead++] ; ^ user.c:49:13: error: request for member ‘child’ in something not a structure or union if (u -> child[c] != NULL) { ^ user.c:50:9: error: unknown type name ‘trie’ trie *suff = u -> fail; ^ user.c:50:24: error: request for member ‘fail’ in something not a structure or union trie *suff = u -> fail; ^ user.c:51:22: error: request for member ‘child’ in something not a structure or union while ((suff -> child[c] == NULL) && (suff != root)) { ^ user.c:52:23: error: request for member ‘fail’ in something not a structure or union suff = suff -> fail; ^ user.c:54:19: error: request for member ‘child’ in something not a structure or union if ((suff -> child[c] != NULL) && (suff -> child[c] != u -> child[c])) { ^ user.c:54:49: error: request for member ‘child’ in something not a structure or union if ((suff -> child[c] != NULL) && (suff -> child[c] != u -> child[c])) { ^ user.c:54:66: error: request for member ‘child’ in something not a structure or union if ((suff -> child[c] != NULL) && (suff -> child[c] != u -> child[c])) { ^ user.c:55:13: error: request for member ‘child’ in something not a structure or union

Ceva nu functioneaza?