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

Question!!!
Posted by dert 17 Jul 2007 12:05
Excuse for bad English.

There can be I of that do not understand, but if I have understood all, at you the first test wrong.

Input

5
5
8
13
27
14

Output

3

I have understood, that it is necessary to divide stones into 2 groups so that their weight was minimum, then

1st group

13
14
5
5

In the sum 37

2nd group

27
8

In the sum 35

As a result a difference not 3 and 2

Help please!

dert
Re: Question!!!
Posted by da chen 18 Jul 2007 18:40
The first "5" means "n".
Re: Question!!!
Posted by dert 18 Jul 2007 19:29
Thank you!!!
Re: Question!!!
hmmm, your english is REALLY very bad. Try to improve it.