HDU 1028 Ignatius and the Princess III dp整数划分
摘要:
http://acm.hdu.edu.cn/showproblem.php?pid=1028 dp[i][j]表示数值为i,然后最小拆分的那个数是j的时候的总和。 1 = 1 2 = 1 + 1 、 2 = 2 3 = 1 + 1 + 1、 3 = 2 + 1、 3 = 3 那么可以分两类, 1、最 阅读全文
posted @ 2016-11-16 14:03 stupid_one 阅读(189) 评论(0) 推荐(0) 编辑