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

1005 test
Posted by olenka 8 Apr 2006 22:54
What is test n5 for 1005? is the algorithm of sorting non-inc and putting elements to the heap with the least sum correct?
Re: 1005 test
Posted by Burunduk1 9 Apr 2006 04:05
I don't understand your method exactly,
but it seems to be greedy algo and
in this problem ANY greedy algo is wrong.

Edited by author 09.04.2006 11:53