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

Show all messages Hide all messages

Who know test 1? adilchib 12 Mar 2009 14:37
Who know test 1? please, sent me!
Re: Who know test 1? yaho0o0 8 Apr 2009 00:43
5
5
8
13
27
14
answer 3

Edited by author 08.04.2009 00:44
Re: Who know test 1? Andrei 12 Aug 2014 19:18
Why answer is 3?

I think, that correct answer is 2.

(27 + 8) --- (14 + 13 + 5 + 5)
35 - 37 = -2 (2)

But my program fails on first test.
Re: Who know test 1? [RISE] Levon Oganesyan [RAU] 13 Aug 2014 03:27
You can't add new stones.
Re: Who know test 1? Vlad 8 Oct 2014 16:31
You have only one stone with weight of 5. The first line is number of stones.
Re: Who know test 1? Dmitriy 16 Mar 2016 10:17
Vlad thank you, I also thought that this sixth stone :)but better to use the word "amount" and not the "number".