Borderou de evaluare (job #2683198)

Utilizator hhhhhhhAndrei Boaca hhhhhhh Data 10 decembrie 2020 17:23:31
Problema Virus Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 50

Raport evaluator

Compilare: main.cpp: In function 'void add_string(std::__cxx11::string, int)': main.cpp:50:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=0;i<s.size();i++) ~^~~~~~~~~ main.cpp:54:27: warning: array subscript has type 'char' [-Wchar-subscripts] if(t[poz].muchii[c]==0) ^ main.cpp:61:28: warning: array subscript has type 'char' [-Wchar-subscripts] t[poz].muchii[c]=t.size()-1; ^ main.cpp:63:28: warning: array subscript has type 'char' [-Wchar-subscripts] poz=t[poz].muchii[c]; ^ main.cpp:64:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(i+1==s.size()) ~~~^~~~~~~~~~ main.cpp:52:13: warning: unused variable 'found' [-Wunused-variable] int found=0; ^~~~~ main.cpp: In function 'int go(int, char)': main.cpp:71:19: warning: array subscript has type 'char' [-Wchar-subscripts] if(t[poz].go[c]!=-1) ^ main.cpp:72:27: warning: array subscript has type 'char' [-Wchar-subscripts] return t[poz].go[c]; ^ main.cpp:73:23: warning: array subscript has type 'char' [-Wchar-subscripts] if(t[poz].muchii[c]!=0) ^ main.cpp:74:20: warning: array subscript has type 'char' [-Wchar-subscripts] t[poz].go[c]=t[poz].muchii[c]; ^ main.cpp:74:37: warning: array subscript has type 'char' [-Wchar-subscripts] t[poz].go[c]=t[poz].muchii[c]; ^ main.cpp:78:24: warning: array subscript has type 'char' [-Wchar-subscripts] t[poz].go[c]=0; ^ main.cpp:80:24: warning: array subscript has type 'char' [-Wchar-subscripts] t[poz].go[c]=go(get_link(poz),c); ^ main.cpp:82:23: warning: array subscript has type 'char' [-Wchar-subscripts] return t[poz].go[c]; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
118ms946kbOK10
217ms557kbOK10
329ms946kbOK10
4289ms98320kbMemory limit exceeded0
5289ms98320kbMemory limit exceeded0
6270ms98320kbMemory limit exceeded0
7292ms98320kbMemory limit exceeded0
8288ms98320kbMemory limit exceeded0
9146ms29757kbOK10
1067ms15052kbOK10
Punctaj total50

Ceva nu functioneaza?