Online JudgeProblem SetAuthorsOnline ContestsUser
Web Board
Home Page
F.A.Qs
Statistical Charts
Problems
Submit Problem
Online Status
Prob.ID:
Register
Update your info
Authors ranklist
Current Contest
Past Contests
Scheduled Contests
Award Contest
User ID:
Password:
  Register

Re:真是天马行空,这题为什么是DP阿,DP是用来求最优值的,而本题要求输出所有可能的放法,明显应该暴搜。

Posted by xuejitiankong at 2010-07-29 19:50:12 on Problem 1837
In Reply To:真是天马行空,这题为什么是DP阿,DP是用来求最优值的,而本题要求输出所有可能的放法,明显应该暴搜。 Posted by:gzw_02 at 2008-07-25 21:09:44
可以看做是DP啊,两边的值最相近看做最优解啊,最后的时候输出最优解的组数不就行了!

Followed by:

Post your reply here:
User ID:
Password:
Title:

Content:

Home Page   Go Back  To top


All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator