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 1005. Stone Pile

Wrong data ?
Posted by ByteJumper 22 Mar 2008 12:43
In the problem 1005 the result is "3" for the stones 5 5 8 13 27 14, but in my opinion the minimal weight is "2".
LEFT = 27, 5, 5 = 37
RIGHT = 13, 14, 8 = 35

LEFT - RIGHT = 2, not 3 shown in this problem.

Is there a bug, or I'm wrong ?
Re: Wrong data ?
Posted by OpenGL 22 Mar 2008 20:10
First number is a count stones. Minimal weight is 3:
5 27 and 13 14 8