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

一点解法~~

Posted by dut200901102 at 2010-12-03 15:29:59 on Problem 1283
先把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:
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