Borderou de evaluare (job #2580941)

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

Raport evaluator

Compilare: main.cpp: In member function 'void Trie::insert(std::__cxx11::string&)': main.cpp:24:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(short i = 0; i < s.size(); ++i) { ~~^~~~~~~~~~ main.cpp:26:27: warning: array subscript has type 'char' [-Wchar-subscripts] if(curr->nxt[c] == 0) { ^ main.cpp:27:28: warning: array subscript has type 'char' [-Wchar-subscripts] curr->nxt[c] = new Node(); ^ main.cpp:29: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:41:27: warning: array subscript has type 'char' [-Wchar-subscripts] if(curr->nxt[c] != 0 && i <= j) { ^ main.cpp:43:35: warning: array subscript has type 'char' [-Wchar-subscripts] curr = curr->nxt[c]; ^ main.cpp: In function 'int main()': main.cpp:74: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
170ms393kbOK10
2120ms262kbOK10
316ms393kbOK10
453ms1835kbOK10
574ms6684kbOK10
691ms6684kbOK10
7111ms6684kbOK10
8171ms65552kbMemory limit exceeded0
9163ms65552kbMemory limit exceeded0
10277ms11665kbOK10
Punctaj total80

Ceva nu functioneaza?