Borderou de evaluare (job #2579983)

Utilizator vxpsnVictor Pusnei vxpsn Data 13 martie 2020 10:45:48
Problema SETI Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 10

Raport evaluator

Compilare: main.cpp: In member function 'void Trie::Insert(std::__cxx11::string)': main.cpp:28:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0; i < s.size(); ++i) { ~~^~~~~~~~~~ main.cpp:30:27: warning: array subscript has type 'char' [-Wchar-subscripts] if(curr->nxt[c] == 0) { ^ main.cpp:32:28: warning: array subscript has type 'char' [-Wchar-subscripts] curr->nxt[c] = new Node(); ^ main.cpp:34:31: warning: array subscript has type 'char' [-Wchar-subscripts] curr = curr->nxt[c]; ^ main.cpp:35:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(i == s.size() - 1) { ~~^~~~~~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:82:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0; i < s.size(); ++i) { ~~^~~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
1403ms1310kbTime limit exceeded0
2121ms1179kbOK10
36ms1310kbKilled by Signal 110
414ms1441kbKilled by Signal 110
521ms4325kbKilled by Signal 110
630ms4456kbKilled by Signal 110
736ms4456kbKilled by Signal 110
86ms1441kbKilled by Signal 110
96ms1441kbKilled by Signal 110
106ms1441kbKilled by Signal 70
Punctaj total10

Ceva nu functioneaza?