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

In sample 1, the input data is
abracadabra
abrabracada

and the sample answer is
No
abr abracad a

Does the answer
No
abr abracada
acceptable?

abracada is also a prefix of abracadabra