Borderou de evaluare (job #3222901)

Utilizator adrian_zahariaZaharia Adrian adrian_zaharia Data 11 aprilie 2024 20:31:54
Problema SETI Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In member function 'void Trie::insert(const std::string&, int)': main.cpp:23:33: warning: array subscript has type 'char' [-Wchar-subscripts] 23 | if(!trie[node].next[ch]){ | ^~ main.cpp:24:33: warning: array subscript has type 'char' [-Wchar-subscripts] 24 | trie[node].next[ch] = trie.size(); | ^~ main.cpp:27:36: warning: array subscript has type 'char' [-Wchar-subscripts] 27 | node = trie[node].next[ch]; | ^~ main.cpp: In member function 'void Trie::erase(const std::string&)': main.cpp:36:36: warning: array subscript has type 'char' [-Wchar-subscripts] 36 | node = trie[node].next[ch]; | ^~ main.cpp:42:38: warning: array subscript has type 'char' [-Wchar-subscripts] 42 | if(!trie[trie[node].next[ch]].lvs){ | ^~ main.cpp:43:33: warning: array subscript has type 'char' [-Wchar-subscripts] 43 | trie[node].next[ch] = 0; | ^~ main.cpp:46:36: warning: array subscript has type 'char' [-Wchar-subscripts] 46 | node = trie[node].next[ch]; | ^~ main.cpp: In member function 'void Trie::count(int, int)': main.cpp:52:41: warning: array subscript has type 'char' [-Wchar-subscripts] 52 | if(!trie[node].next[str[ind]]) | ^ main.cpp:54:44: warning: array subscript has type 'char' [-Wchar-subscripts] 54 | node = trie[node].next[str[ind]]; | ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
110ms753kbKilled by Signal 110
210ms618kbKilled by Signal 110
310ms647kbKilled by Signal 110
410ms606kbKilled by Signal 110
510ms679kbKilled by Signal 110
610ms782kbKilled by Signal 110
710ms819kbKilled by Signal 110
810ms823kbKilled by Signal 110
910ms819kbKilled by Signal 110
1010ms819kbKilled by Signal 110
Punctaj total0

Ceva nu functioneaza?