Borderou de evaluare (job #1514945)

Utilizator DevilOnFielddTudor Horia Niculescu DevilOnFieldd Data 31 octombrie 2015 20:37:51
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
20ms268kbIncorect00
30ms280kbIncorect00
40ms280kbOK55
50ms276kbIncorect00
60ms280kbIncorect00
70ms300kbIncorect00
84ms300kbIncorect00
98ms436kbIncorect00
108ms932kbIncorect00
1112ms332kbIncorect00
1224ms1644kbIncorect00
1328ms1388kbIncorect00
1428ms544kbIncorect00
1536ms516kbIncorect00
1680ms10460kbIncorect0
1744ms300kbIncorect00
1880ms7792kbIncorect0
1948ms296kbIncorect00
2088ms13564kbIncorect0
Punctaj total10

Ceva nu functioneaza?