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 1007. Code Words

Problem definition
Posted by Pavel Minev Penev 5 Oct 2000 18:18
Just an alert:

Are you aware that there are multiple solutions, e.g.:
from the sample input:

Input:

4
1011

Output 1:

1001

Output 2:

1111

My issue is that you don't mention anything about this in
the problem definition -- i.e. is any of the possible
solutions valid?