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

Discussion of Problem 1723. Sandro's Book

about abababa
Posted by data lapiashvili 22 Nov 2009 13:55
is in your example abababa right answer aba or only a???
because a is 4 and aba is 3.
Re: about abababa
Posted by Kevin 3 Mar 2010 13:36
Re: about abababa
Posted by [kernel_panic] 17 Oct 2010 01:41
test №1: "abababa" ; correct answer: "a"
test №2: "abcde" ; correct answer: "abcde"
Re: about abababa
Posted by DominatoR 15 Nov 2010 10:11
For "abcde" correct: a, b, c, d, e, ab, bc, cd, de, abc, bcd, cde, abcd, bcde, abcde

Edited by author 15.11.2010 10:11
Re: about abababa
Posted by akezhan96 15 Feb 2013 13:25
why correct answer is "a" , in my opinion answer must be "ababa" cause prefix is like that 0 0 1 2 3 4 5