ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1423. String Tale

I have Knut_Morris_Pratt Algo, but why do I have WA#8?
Posted by Alexey 22 Jun 2006 19:31
Please, help.

Thanks.
Re: I have Knut_Morris_Pratt Algo, but why do I have WA#8?
Posted by Vukasin 1 Jun 2008 07:43
Someone knows what is that test?
give me some tests please...
Re: I have Knut_Morris_Pratt Algo, but why do I have WA#8?
Posted by AterLux 7 Sep 2010 20:37
I got AC (with time 0,5 sec), using cyclic 64bit xor-hash.

Try test like that:
250000
aaaaaaaaa .... (fill this with 'a') ... aaaaaB
aaaaaa ....  aaaBaaaaa .... aaaaaa

or (in second line)
Baaaa ....
or
aaaaa ..... aaaaaBa