1464 - Vasha Plug&Plug

Discussion around the problems of the COJ.
Forum rules
Remember that posting AC code is not allowed here. If you are going to ask a question or to post a solution, describe your algorithm instead. Posting AC code will be penalized.
Post Reply
User avatar
dovier
Posts: 1143
Joined: 9 years ago
Location: Havana, Cuba
Gender: Male
Cuba

1464 - Vasha Plug&Plug

Post by dovier » 8 years ago




User avatar
Phantom
Posts: 58
Joined: 8 years ago
Location: Cuba
Gender: None specified

Re: 1464 - Vasha Plug&Plug

Post by Phantom » 7 years ago

I only get "Wrong Answer" with my implementation and I don't know why. Can any body post a good test case, please?

george
Posts: 43
Joined: 9 years ago
Gender: None specified

Re: 1464 - Vasha Plug&Plug

Post by george » 7 years ago

Phantom wrote:I only get "Wrong Answer" with my implementation and I don't know why. Can any body post a good test case, please?
It will be better if you explain your algorithm

User avatar
Phantom
Posts: 58
Joined: 8 years ago
Location: Cuba
Gender: None specified

Re: 1464 - Vasha Plug&Plug

Post by Phantom » 7 years ago

I'm accepted in this problem.
Mi problema era que cuando removía las letras en una primera pasada, en el string resultante podía haber letras iguales juntas.

Post Reply

Return to “Problem set”