Borderou de evaluare (job #1515369)

Utilizator DevilOnFielddTudor Horia Niculescu DevilOnFieldd Data 1 noiembrie 2015 15:46:31
Problema Trie Status done
Runda Arhiva educationala Compilator c | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.c: In function ‘printgay’: user.c:25:17: warning: passing argument 1 of ‘printgay’ from incompatible pointer type [enabled by default] printgay(nod->next[i], depth + 1); ^ user.c:12:6: note: expected ‘struct Trie *’ but argument is of type ‘struct Trie *’ void printgay(Trie *nod, int depth) ^ user.c: In function ‘cuvnou’: user.c:37:39: warning: assignment from incompatible pointer type [enabled by default] nod->next[x[0] - 'a'] = nou; ^ user.c:41:21: warning: assignment from incompatible pointer type [enabled by default] nou = nod->next[x[0] - 'a']; ^ user.c: In function ‘prefcom’: user.c:55:13: warning: assignment from incompatible pointer type [enabled by default] nod = nod->next[x[i] - 'a']; ^ user.c: In function ‘nraparitii’: user.c:70:17: warning: assignment from incompatible pointer type [enabled by default] nod = (nod->next[x[i] - 'a']); ^ user.c:73:17: warning: assignment from incompatible pointer type [enabled by default] nod = nod->next[x[i] - 'a']; ^ user.c: In function ‘deletecuv’: user.c:86:17: warning: assignment from incompatible pointer type [enabled by default] aux = nod->next[x[0] - 'a']; ^ user.c:107:5: warning: passing argument 1 of ‘deletecuv’ from incompatible pointer type [enabled by default] y = deletecuv(nod->next[x[0] - 'a'], x + 1); ^ user.c:81:5: note: expected ‘struct Trie *’ but argument is of type ‘struct Trie *’ int deletecuv(Trie *nod, char *x) ^ user.c:125:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ user.c: In function ‘main’: user.c:141:15: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in, "%s", gay); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms264kbOK55
20ms264kbIncorect00
30ms280kbIncorect00
40ms280kbOK55
50ms272kbIncorect00
60ms280kbIncorect00
70ms304kbIncorect00
84ms292kbIncorect00
94ms440kbKilled by signal 11(SIGSEGV).00
108ms932kbIncorect00
1112ms332kbIncorect00
1224ms1632kbIncorect00
1328ms1388kbIncorect00
1428ms544kbIncorect00
1536ms512kbIncorect00
1656ms10100kbKilled by signal 11(SIGSEGV).0
1724ms296kbKilled by signal 11(SIGSEGV).00
1844ms7436kbKilled by signal 11(SIGSEGV).0
1944ms304kbIncorect00
2084ms13488kbKilled by signal 11(SIGSEGV).0
Punctaj total10

Ceva nu functioneaza?