Pagini recente » Borderou de evaluare (job #375856) | Borderou de evaluare (job #93705) | Borderou de evaluare (job #1147516) | Borderou de evaluare (job #645968) | Borderou de evaluare (job #2659854)
Borderou de evaluare (job #2659854)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:17:30: warning: array subscript has type 'char' [-Wchar-subscripts]
for (i=0;i<n;i++) vf[s[i]]++;
^
main.cpp:44:30: warning: array subscript has type 'char' [-Wchar-subscripts]
if (j-sf[s[j]]<=r && j+sf[s[j]]<mx) {mx=j+sf[s[j]];nw=j;}
^
main.cpp:44:47: warning: array subscript has type 'char' [-Wchar-subscripts]
if (j-sf[s[j]]<=r && j+sf[s[j]]<mx) {mx=j+sf[s[j]];nw=j;}
^
main.cpp:44:66: warning: array subscript has type 'char' [-Wchar-subscripts]
if (j-sf[s[j]]<=r && j+sf[s[j]]<mx) {mx=j+sf[s[j]];nw=j;}
^
main.cpp:46:31: warning: array subscript has type 'char' [-Wchar-subscripts]
else if (j-sf[s[j]]>r && j+sf[s[j]]<mx)
^
main.cpp:46:47: warning: array subscript has type 'char' [-Wchar-subscripts]
else if (j-sf[s[j]]>r && j+sf[s[j]]<mx)
^
main.cpp:47:26: warning: array subscript has type 'char' [-Wchar-subscripts]
{mx=j+sf[s[j]];nw=j;}
^
main.cpp:36:24: warning: variable 'nw' set but not used [-Wunused-but-set-variable]
int mx,rsp=0,j,w=0,nw;
^~
main.cpp:28:27: warning: 'nr' may be used uninitialized in this function [-Wmaybe-uninitialized]
if (vf[i]!=0) nr--;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | OK | 10 |
2 | 3ms | 131kb | OK | 10 |
3 | 3ms | 131kb | Incorect | 0 |
4 | 2ms | 131kb | Incorect | 0 |
5 | 2ms | 131kb | Incorect | 0 |
6 | 2ms | 131kb | Incorect | 0 |
7 | 3ms | 131kb | Incorect | 0 |
8 | 30ms | 131kb | Incorect | 0 |
9 | 24ms | 131kb | OK | 10 |
10 | 21ms | 131kb | Incorect | 0 |
Punctaj total | 30 |