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 |
用了DP,但是还是不大明白什么是DP,只知道回溯从最后一行回溯,最后一行每两个数和前面一行判断那个和大, 用和大的那个替换原数,一直回溯的第一行.最后那个和就是答案. Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator