Borderou de evaluare (job #1515642)

Utilizator DevilOnFielddTudor Horia Niculescu DevilOnFieldd Data 1 noiembrie 2015 22:36:34
Problema Trie Status done
Runda Arhiva educationala Compilator c | Vezi sursa
Scor 45

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 STrie *’ 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:69:17: warning: assignment from incompatible pointer type [enabled by default] nod = nod->next[x[i] - 'a']; ^ user.c: In function ‘deletecuv’: user.c:84:17: warning: assignment from incompatible pointer type [enabled by default] aux = nod->next[x[0] - 'a']; ^ user.c:105: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:79:5: note: expected ‘struct Trie *’ but argument is of type ‘struct STrie *’ int deletecuv(Trie *nod, char *x) ^ user.c:122:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ user.c: In function ‘main’: user.c:139: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
10ms260kbOK55
20ms264kbOK55
30ms276kbOK55
40ms268kbOK55
50ms268kbOK55
60ms280kbOK55
70ms300kbOK55
84ms288kbOK55
98ms432kbIncorect00
108ms924kbIncorect00
1112ms332kbIncorect00
1224ms1632kbIncorect00
1328ms1384kbIncorect00
1428ms536kbOK55
1540ms512kbIncorect00
1680ms10100kbIncorect0
1752ms292kbOK50
1884ms7436kbIncorect0
1944ms296kbOK50
2092ms13488kbIncorect0
Punctaj total45

Ceva nu functioneaza?