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 1654. Cipher Message

To people who got WA 6
Posted by Prabhjot Singh 22 Sep 2010 17:39
try this test case

dfadfmmmmfad

Correct answer

dfadad

Hope this helps...
Re: To people who got WA 6
Posted by Vasiliy 24 Oct 2010 20:29
thank you very much!
Could you please explain
Posted by Anupam Ghosh, Wipro Technologies 18 Mar 2012 17:35
Hi,
    I am getting "fd" as answer as shown below after each removal of duplicate characters.

dfadfmmmmfad
dfadad
dfdd
fd
Could you please explain where am I wrong??

Thanks in advance.
Anupam
Re: Could you please explain
Posted by Talantsev Yegor 5 Apr 2012 22:54
Why are you removing "a" chars in "dfadad"? You can delete it if chars stays together in the string.