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

Hint For Test Case# 16
Posted by Yuv 2 Sep 2019 13:02
Cannot break this case. Any hint?
Re: Hint For Test Case# 16
Posted by Yuv 4 Sep 2019 10:49
Ok I don't know what was the case# 16. But I have found some test cases:

9
abghxrfab
rfabghxrf
ans: -1

9
abghxabab
ababghxab
ans: 2

12
abcghxabcabc
cabcghxabcab
ans: 1