Borderou de evaluare (job #2579990)

Utilizator vxpsnVictor Pusnei vxpsn Data 13 martie 2020 10:52:45
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 member function 'void Trie::Count(int, int, std::__cxx11::string)': main.cpp:54:27: warning: array subscript has type 'char' [-Wchar-subscripts] if(curr->nxt[c] != 0) { ^ main.cpp:55:35: warning: array subscript has type 'char' [-Wchar-subscripts] curr = curr->nxt[c]; ^ main.cpp: In function 'int main()': main.cpp:91: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
1401ms1310kbTime limit exceeded0
2128ms1179kbOK10
3161ms1310kbIncorect0
4217ms1835kbIncorect0
5403ms7208kbTime limit exceeded0
6403ms7340kbTime limit exceeded0
7403ms7340kbTime limit exceeded0
884ms33816kbKilled by Signal 70
96ms1441kbKilled by Signal 110
106ms1441kbKilled by Signal 70
Punctaj total10

Ceva nu functioneaza?