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 1359. Construction

Although this problem isn't so hard,I like it very much.
Posted by Yu Yuanming 10 Jun 2005 18:42
little hint, please+++
Posted by Виктор Крупко 11 Jun 2005 02:41
O(N^4) dp (-)
Posted by Dmitry 'Diman_YES' Kovalioff 11 Jun 2005 12:17
Re: little hint, please+++
Posted by Yu Yuanming 11 Jun 2005 19:07
For O(n^4) algo, take care that: mv^2 / 2 = mgh