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 1669. Universal Word

wrong answer #8
Posted by Cu-star 20 Dec 2008 16:12
i don't know why WA in test 8.
please help
Re: wrong answer #8
Posted by SADAM (Irkutsk STU) 20 Dec 2008 17:38
try this test:

4
abcabcab
Re: wrong answer #8
Posted by Cu-star 20 Dec 2008 18:28
thx very much
i can find the mistake.
but i don't know how to correct
Re: wrong answer #8
Posted by Irkutsk STU 2 20 Dec 2008 20:28
I have faced the same problem. The test 8 - WA.

On the test:
4
abcabcab

The algorithm answers
NO
Re: wrong answer #8
Posted by Cu-star 20 Dec 2008 20:52
i correct it

for this problem it must answer YES.

i use another algorithm but got WA in test 28.

plz. help

thx.
Re: wrong answer #8
Posted by Irkutsk STU 2 21 Dec 2008 07:29
Why on the test:

4
abcabcab

The answer - YES?

In the example there is no letter d