Borderou de evaluare (job #2581100)

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

Raport evaluator

Compilare: main.cpp: In function 'void _insert()': main.cpp:25:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(short i = 0; i < str.size(); ++i) { ~~^~~~~~~~~~~~ main.cpp:27:23: warning: array subscript has type 'char' [-Wchar-subscripts] if(curr->nxt[c] == 0) { ^ main.cpp:28:24: warning: array subscript has type 'char' [-Wchar-subscripts] curr->nxt[c] = new Node(); ^ main.cpp:30:27: warning: array subscript has type 'char' [-Wchar-subscripts] curr = curr->nxt[c]; ^ main.cpp: In function 'void _count(int, int)': main.cpp:43:33: warning: array subscript has type 'char' [-Wchar-subscripts] if(i <= j && curr->nxt[c]) { ^ main.cpp:44:31: 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) ~~^~~~~~~~~~ main.cpp:76:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(short i = 0; i < q.size(); ++i) ~~^~~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
140ms393kbOK10
267ms262kbOK10
312ms262kbOK10
448ms917kbOK10
558ms6553kbOK10
671ms6553kbOK10
785ms6553kbOK10
8182ms65552kbMemory limit exceeded0
9172ms65552kbMemory limit exceeded0
10193ms9175kbOK10
Punctaj total80

Ceva nu functioneaza?