Borderou de evaluare (job #2579986)

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

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
1402ms1310kbTime limit exceeded0
2129ms1179kbOK10
3162ms1310kbOK10
436ms1703kbKilled by Signal 110
5108ms7208kbKilled by Signal 70
6125ms7208kbKilled by Signal 70
7205ms7340kbKilled by Signal 70
884ms33816kbKilled by Signal 70
96ms1441kbKilled by Signal 110
105ms1441kbKilled by Signal 70
Punctaj total20

Ceva nu functioneaza?