Borderou de evaluare (job #2588079)

Utilizator Tudor06MusatTudor Tudor06 Data 24 martie 2020 13:49:18
Problema Trie Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 5

Raport evaluator

Compilare: main.cpp: In function 'void add_string(const string&)': main.cpp:21:29: warning: array subscript has type 'char' [-Wchar-subscripts] if ( trie[i].link[it] == 0 ) { ^ main.cpp:22:28: warning: array subscript has type 'char' [-Wchar-subscripts] trie[i].link[it] = n; ^ main.cpp:25:28: warning: array subscript has type 'char' [-Wchar-subscripts] i = trie[i].link[it]; ^ main.cpp: In function 'void delete_string(const string&)': main.cpp:33:28: warning: array subscript has type 'char' [-Wchar-subscripts] i = trie[i].link[it]; ^ main.cpp: In function 'int string_appearances(const string&)': main.cpp:41:46: warning: array subscript has type 'char' [-Wchar-subscripts] while ( it != s.end() && trie[i].link[*it] != 0 ) { ^ main.cpp:42:29: warning: array subscript has type 'char' [-Wchar-subscripts] i = trie[i].link[*it]; ^ main.cpp: In function 'int longest_common_prefix(const string&)': main.cpp:54:29: warning: array subscript has type 'char' [-Wchar-subscripts] i = trie[i].link[*it]; ^ main.cpp:51:16: warning: unused variable 'maxim' [-Wunused-variable] int j = 0, maxim; ^~~~~ main.cpp: In function 'int main()': main.cpp:64:9: warning: unused variable 'i' [-Wunused-variable] int i, cer; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
12ms131kbOK55
23ms131kbIncorect00
36ms131kbIncorect00
46ms131kbIncorect00
511ms131kbIncorect00
621ms131kbIncorect00
736ms393kbIncorect00
840ms393kbIncorect00
999ms524kbIncorect00
1082ms2621kbIncorect00
11151ms1048kbIncorect00
12128ms3670kbKilled by Signal 1100
13242ms3145kbIncorect00
14223ms2228kbKilled by Signal 1100
15193ms2228kbKilled by Signal 1100
16165ms11403kbKilled by Signal 110
17328ms524kbKilled by Signal 1100
18373ms9175kbKilled by Signal 110
19402ms1966kbTime limit exceeded00
20191ms11403kbKilled by Signal 110
Punctaj total5

Ceva nu functioneaza?