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 |
一点解法~~先把n-=k,假设先给每个卡车装一个电脑,接下来按照经典的整数分解算法dp之 dp[i][j]=dp[i-j][j]+dp[i][j-1](i-j>=0&&j-1>=1); 注意边界条件dp[0][i]=dp[i][1]=1; Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator