Pagini recente » Borderou de evaluare (job #57861) | Borderou de evaluare (job #881997) | Borderou de evaluare (job #216207) | Borderou de evaluare (job #185315) | Borderou de evaluare (job #1107813)
Borderou de evaluare (job #1107813)
Raport evaluator
Compilare:
user.cpp: In function ‘int BoyerMooreSearch(char*, char*, int, int)’:
user.cpp:23:39: warning: array subscript has type ‘char’ [-Wchar-subscripts]
for(i=0; i<mlen; ++i) skip[muster[i]]=mlen-1-i;
^
user.cpp:27:35: warning: array subscript has type ‘char’ [-Wchar-subscripts]
i += max(mlen-j,skip[text[i]]);
^
user.cpp: In function ‘void cenzureaza()’:
user.cpp:94:7: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if(BoyerMooreSearch(blog[i].post[j],blog[u].name,strlen(blog[i].post[j]),strlen(blog[u].name))!=-1 )
^
 | Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
✓ | 1 | 4ms | 348kb | OK | 10 |
✓ | 2 | 4ms | 496kb | Incorect | 0 |
✓ | 3 | 4ms | 596kb | OK | 10 |
✓ | 4 | 4ms | 744kb | OK | 10 |
✓ | 5 | 8ms | 868kb | OK | 10 |
✓ | 6 | 8ms | 992kb | OK | 10 |
✓ | 7 | 12ms | 1116kb | Incorect | 0 |
✓ | 8 | 16ms | 1256kb | OK | 10 |
✓ | 9 | 16ms | 1348kb | OK | 10 |
✓ | 10 | 20ms | 1352kb | OK | 10 |
Punctaj total | 80 |