Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |
Re:真是天马行空,这题为什么是DP阿,DP是用来求最优值的,而本题要求输出所有可能的放法,明显应该暴搜。In Reply To:真是天马行空,这题为什么是DP阿,DP是用来求最优值的,而本题要求输出所有可能的放法,明显应该暴搜。 Posted by:gzw_02 at 2008-07-25 21:09:44 可以看做是DP啊,两边的值最相近看做最优解啊,最后的时候输出最优解的组数不就行了! Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator