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 1684. Jack's Last Word

a test case for WA#4
Posted by jieshuzheng 7 Feb 2012 22:34
ababa
ababab

if you use kmp, you should pay attention when your index for the first word round up. It takes hours to find the problem.
Re: a test case for WA#4
Posted by Mikhail Krivenko 27 Nov 2014 22:11
As to me, the problem was with special symbols. In this test end of the first line was defined by two symbols (like Windows style: 10 and 13).