Answer the question
In order to leave comments, you need to log in
Olympiad problem about Stones. How to solve this problem?
There are N stones of weight A1,A2,...,AN.
It is necessary to split them into two heaps in such a way that the weights of the heaps differ by no more than 2 times. If this cannot be done, then indicate it.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question