Borderou de evaluare (job #1887233)

Utilizator GeanaVladGeana Vlad GeanaVlad Data 21 februarie 2017 14:09:32
Problema Cristale Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:17:20: warning: array subscript has type ‘char’ [-Wchar-subscripts] vf[s[i]]++; ^ user.cpp:18:23: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(vf[s[i]]==1) ^ user.cpp:25:21: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(!vf[x]) ^ user.cpp:27:28: warning: array subscript has type ‘char’ [-Wchar-subscripts] mn=min(vf[y],vf[z]); ^ user.cpp:27:34: warning: array subscript has type ‘char’ [-Wchar-subscripts] mn=min(vf[y],vf[z]); ^ user.cpp:30:26: warning: array subscript has type ‘char’ [-Wchar-subscripts] else if(!vf[y]) ^ user.cpp:32:28: warning: array subscript has type ‘char’ [-Wchar-subscripts] mn=min(vf[x],vf[z]); ^ user.cpp:32:34: warning: array subscript has type ‘char’ [-Wchar-subscripts] mn=min(vf[x],vf[z]); ^ user.cpp:37:28: warning: array subscript has type ‘char’ [-Wchar-subscripts] mn=min(vf[x],vf[y]); ^ user.cpp:37:34: warning: array subscript has type ‘char’ [-Wchar-subscripts] mn=min(vf[x],vf[y]); ^ user.cpp:43:20: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(vf[x]%2==0 && vf[y]%2==0 && vf[z]%2==0 || (vf[x]%2==1 && vf[y]%2==1 && vf[z]%2==1)) ^ user.cpp:43:34: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(vf[x]%2==0 && vf[y]%2==0 && vf[z]%2==0 || (vf[x]%2==1 && vf[y]%2==1 && vf[z]%2==1)) ^ user.cpp:43:48: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(vf[x]%2==0 && vf[y]%2==0 && vf[z]%2==0 || (vf[x]%2==1 && vf[y]%2==1 && vf[z]%2==1)) ^ user.cpp:43:63: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(vf[x]%2==0 && vf[y]%2==0 && vf[z]%2==0 || (vf[x]%2==1 && vf[y]%2==1 && vf[z]%2==1)) ^ user.cpp:43:77: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(vf[x]%2==0 && vf[y]%2==0 && vf[z]%2==0 || (vf[x]%2==1 && vf[y]%2==1 && vf[z]%2==1)) ^ user.cpp:43:91: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(vf[x]%2==0 && vf[y]%2==0 && vf[z]%2==0 || (vf[x]%2==1 && vf[y]%2==1 && vf[z]%2==1)) ^ user.cpp:43:41: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms448kbIncorect0
20ms440kbOK10
30ms444kbIncorect0
40ms440kbIncorect0
50ms444kbIncorect0
60ms444kbIncorect0
70ms440kbIncorect0
80ms444kbIncorect0
90ms444kbIncorect0
100ms452kbIncorect0
Punctaj total10

Ceva nu functioneaza?