h;j;k;q[];main(i){for(;h>199?i+=k>99?k=i>149?h=j=!printf("%d\n",k-i+j):0,++j-i:q[i]==q[k++]:~scanf("%d",q+h++););}
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page