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

Explaing of the test example
Posted by VladG 16 Dec 2002 11:16
The confusion about the test example lies in the fact that
if you carefully read the problem (after you tried to send a solution
that got a WA :)  you see that you need to sum up not all the values
(a sum of branch types in the cell) in the given distance, but only
values for different branch types.

Although, I agree that the problem is not described very well.