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 1121. Branches

Sample output is nuts
Posted by DarkeN 8 Apr 2009 15:53
I seriously think that sample output is screwed up. For example, the lowest line reads:

-1 1 4 - 1 4

But taking into account the proximity of the branch with ID=4
(bin: 100) and the branch with ID=1 (bin: 001) shouldn't all non-negative numbers in line equal 5( bin: 101), like

-1 5 5 -1 5 ?

Could someone make it clear for me? I would be very grateful;-)