ENG
RUS
Timus 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
Hint
Posted by
TakeOver
7 Dec 2012 22:45
Just use Greedy algorithm =)
Re: Hint
Posted by
Andrew Sboev [USU]
7 Dec 2012 23:51
Just brute-force.
Re: Hint
Posted by
Bogatyr
11 Dec 2012 20:43
> Just use Greedy algorithm =)
Greedy is wrong for this problem.
Re: Hint
Posted by
TakeOver
11 Dec 2012 22:10
http://acm.timus.ru/status.aspx?space=1&num=1005&author=133200
I solved this with no brutforce=)
© 2000–2024
Timus Online Judge Team
. All rights reserved.