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

Prefix definition
Posted by ghenady 10 Apr 2018 20:00
For TC:
abracadabra
abrabracada

why don't the prefixes are:
abra abracada a?

and also

why for TC:
abracadabra
arbadacarba

the prefix is not:
a?
Re: Prefix definition
Posted by margosha 21 Sep 2018 12:11
why don't the prefixes are:
abra abracada a?

You can write this prefixes, this is the correct answer.

why for TC:
abracadabra
arbadacarba

the prefix is not:
a?

Because the word must consist entirely of prefixes.