Borderou de evaluare (job #2580895)

Utilizator vxpsnVictor Pusnei vxpsn Data 14 martie 2020 12:31:42
Problema SETI Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 70

Raport evaluator

Compilare: main.cpp: In member function 'void Trie::insert(std::__cxx11::string&)': main.cpp:28:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(short 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:31:28: warning: array subscript has type 'char' [-Wchar-subscripts] curr->nxt[c] = new Node(); ^ main.cpp:33:31: warning: array subscript has type 'char' [-Wchar-subscripts] curr = curr->nxt[c]; ^ main.cpp: In member function 'void Trie::count(std::__cxx11::string&, int, int)': main.cpp:47:27: warning: array subscript has type 'char' [-Wchar-subscripts] if(curr->nxt[c] != 0 && i <= j) { ^ main.cpp:49:35: warning: array subscript has type 'char' [-Wchar-subscripts] curr = curr->nxt[c]; ^ main.cpp: In function 'int main()': main.cpp:83: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
127ms393kbOK10
237ms262kbOK10
328ms393kbOK10
424ms2097kbOK10
529ms6684kbOK10
633ms6684kbOK10
737ms6684kbOK10
8156ms65552kbMemory limit exceeded0
9155ms65552kbMemory limit exceeded0
10400ms11665kbTime limit exceeded0
Punctaj total70

Ceva nu functioneaza?