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 1455. Freedom of Speech

WA #6
Posted by Baurzhan 19 Nov 2010 16:37
I implemented BFS solution and getting WA6. Persons,who ACed now but had problems with this test in the past,please,tell me,what is the possible reason of failure? For russian-speakers: i implemented approach, which K@DR explained me here:
http://e-maxx.ru/forum/viewtopic.php?id=313

Edited by author 19.11.2010 16:40
Re: WA #6
Posted by Baurzhan 22 Nov 2010 14:34
if you have WA6, try this test

2
ab
abab

answer:
YES
abab

But now I have problems with 8-th test:( Who can help me?
Re: WA #6
Posted by Vit Demidenko 18 Mar 2011 19:52
if wa6, try this

4
ab
ba
aba
bab

YES
ababa


3
abcab
abc
c

YES
abcabc