Borderou de evaluare (job #2581140)

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

Raport evaluator

Compilare: main.cpp: In function 'void _insert(std::__cxx11::string&)': main.cpp:24:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while(i < s.size()) { ~~^~~~~~~~~~ main.cpp:26:23: warning: array subscript has type 'char' [-Wchar-subscripts] if(curr->nxt[c] == 0) { ^ main.cpp:27:24: warning: array subscript has type 'char' [-Wchar-subscripts] curr->nxt[c] = new Node(); ^ main.cpp:29:27: warning: array subscript has type 'char' [-Wchar-subscripts] curr = curr->nxt[c]; ^ main.cpp: In function 'void _count(int, int)': main.cpp:42:23: warning: array subscript has type 'char' [-Wchar-subscripts] if(curr->nxt[c]) { ^ main.cpp:43:31: warning: array subscript has type 'char' [-Wchar-subscripts] curr = curr->nxt[c]; ^ main.cpp: In function 'int main()': main.cpp:65: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
147ms393kbIncorect0
250ms262kbIncorect0
39ms393kbIncorect0
436ms1835kbOK10
549ms6684kbIncorect0
660ms6684kbOK10
772ms6684kbIncorect0
8143ms65552kbMemory limit exceeded0
9139ms65552kbMemory limit exceeded0
10218ms11665kbIncorect0
Punctaj total20

Ceva nu functioneaza?