Borderou de evaluare (job #2160809)

Utilizator tziplea_stefanTiplea Stefan tziplea_stefan Data 11 martie 2018 13:57:59
Problema Smooth2 Status done
Runda Algoritmiada 2018 Runda PreOJI Compilator cpp | Vezi sursa
Scor 15

Raport evaluator

Compilare: user.cpp: In function ‘bool cmp(char, char)’: user.cpp:22:14: warning: array subscript has type ‘char’ [-Wchar-subscripts] if (poz[A].size()==poz[B].size()) ^ user.cpp:22:29: warning: array subscript has type ‘char’ [-Wchar-subscripts] if (poz[A].size()==poz[B].size()) ^ user.cpp:23:19: warning: array subscript has type ‘char’ [-Wchar-subscripts] return poz[A][0]>poz[B][0]; ^ user.cpp:23:29: warning: array subscript has type ‘char’ [-Wchar-subscripts] return poz[A][0]>poz[B][0]; ^ user.cpp:24:17: warning: array subscript has type ‘char’ [-Wchar-subscripts] return poz[A].size()<poz[B].size(); ^ user.cpp:24:31: warning: array subscript has type ‘char’ [-Wchar-subscripts] return poz[A].size()<poz[B].size(); ^ user.cpp: In function ‘int main()’: user.cpp:35:21: warning: array subscript has type ‘char’ [-Wchar-subscripts] if (poz[S[i]].size()==0) ^ user.cpp:37:17: warning: array subscript has type ‘char’ [-Wchar-subscripts] poz[S[i]].push_back(i); ^ user.cpp:42:15: warning: array subscript has type ‘char’ [-Wchar-subscripts] poz[c[i]].push_back(N+1); ^ user.cpp:46:18: warning: array subscript has type ‘char’ [-Wchar-subscripts] scos[c[i]]=true; ^ user.cpp:49:20: warning: array subscript has type ‘char’ [-Wchar-subscripts] nr[c[j]]=0; ^ user.cpp:50:22: warning: array subscript has type ‘char’ [-Wchar-subscripts] curr[c[j]]=0; ^ user.cpp:55:26: warning: array subscript has type ‘char’ [-Wchar-subscripts] if (scos[S[j]]==true || nr[S[j]]-1==mn) ^ user.cpp:55:44: warning: array subscript has type ‘char’ [-Wchar-subscripts] if (scos[S[j]]==true || nr[S[j]]-1==mn) ^ user.cpp:60:32: warning: array subscript has type ‘char’ [-Wchar-subscripts] if (nr[c[k]]==mn && poz[c[k]][curr[c[k]]]>P) ^ user.cpp:60:49: warning: array subscript has type ‘char’ [-Wchar-subscripts] if (nr[c[k]]==mn && poz[c[k]][curr[c[k]]]>P) ^
Feedback Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
✓14ms2788kbOK!00
✓24ms2788kbOK!00
✓34ms2832kbOK!00
✓44ms2672kbOK!00
✗54ms2788kbOK!33
✗64ms2792kbRaspuns gresit!00
✗74ms2716kbOK!22
✗84ms2796kbRaspuns gresit!00
✗94ms2800kbOK!33
✗104ms2836kbOK!33
✗114ms2800kbOK!44
✗124ms2796kbRaspuns gresit!00
✗13180ms3288kbRaspuns gresit!0
✗144ms2764kbRaspuns gresit!0
✗15236ms3404kbRaspuns gresit!0
✗16340ms2920kbRaspuns gresit!0
✗17228ms3220kbRaspuns gresit!0
✗18364ms3108kbRaspuns gresit!00
✗19128ms3184kbRaspuns gresit!0
✗20128ms3180kbRaspuns gresit!0
Punctaj total15

Ceva nu functioneaza?