Borderou de evaluare (job #2339771)

Utilizator TavinciStefanescu Octavian Tavinci Data 9 februarie 2019 11:49:17
Problema Trie Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'void add_word(nod_trie*, char*)': main.cpp:31:22: warning: array subscript has type 'char' [-Wchar-subscripts] if(nod->fii[delta]==0) ^ main.cpp:33:23: warning: array subscript has type 'char' [-Wchar-subscripts] nod->fii[delta]=new nod_trie(); ^ main.cpp:36:28: warning: array subscript has type 'char' [-Wchar-subscripts] add_word(nod->fii[delta],cuv+1); ^ main.cpp: In function 'int search_word(nod_trie*, char*)': main.cpp:46:22: warning: array subscript has type 'char' [-Wchar-subscripts] if(nod->fii[delta]==0) ^ main.cpp:50:31: warning: array subscript has type 'char' [-Wchar-subscripts] search_word(nod->fii[delta],cuv+1); ^ main.cpp: In function 'bool delete_word(nod_trie*, char*)': main.cpp:66:34: warning: array subscript has type 'char' [-Wchar-subscripts] if(delete_word(nod->fii[delta],cuv+1)==1) ^ main.cpp:69:23: warning: array subscript has type 'char' [-Wchar-subscripts] nod->fii[delta]=0; ^ main.cpp: In function 'int prefix_length(nod_trie*, char*)': main.cpp:82:33: warning: array subscript has type 'char' [-Wchar-subscripts] if(*cuv==0 || nod->fii[delta]==0) ^ main.cpp:85:46: warning: array subscript has type 'char' [-Wchar-subscripts] return 1+prefix_length(nod->fii[delta],cuv+1); ^ main.cpp: In function 'int search_word(nod_trie*, char*)': main.cpp:51:1: warning: control reaches end of non-void function [-Wreturn-type] } ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
12ms131kbIncorect00
22ms131kbIncorect00
33ms131kbIncorect00
43ms131kbIncorect00
53ms131kbIncorect00
64ms131kbIncorect00
75ms131kbIncorect00
87ms131kbIncorect00
99ms131kbIncorect00
1012ms131kbIncorect00
1117ms262kbIncorect00
1222ms262kbIncorect00
1327ms262kbIncorect00
1432ms262kbIncorect00
1538ms262kbIncorect00
1642ms262kbIncorect0
1746ms393kbIncorect00
1847ms393kbIncorect0
1948ms393kbIncorect00
2047ms393kbIncorect0
Punctaj total0

Ceva nu functioneaza?