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

is the output of question wrong?
Posted by xuguoxin 14 May 2007 14:17
1: 27,8
2: 5,5,13,14

min:(5+5+13+14)-(27+8)=2
not 3!!!
Re: is the output of question wrong?
Posted by Romko [Lviv NU] 14 May 2007 16:47
First 5 is the number of stones, not the weight of some stone!!! So (27 + 8) - (5 + 13 + 14) == 3! :)

Edited by author 14.05.2007 16:48
Re: is the output of question wrong?
Posted by xuguoxin 15 May 2007 11:01
thanks