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:这题的递推式是什么?In Reply To:这题的递推式是什么? Posted by:ecjtuwf at 2008-08-05 14:14:06 > opt[0][0]=1; > for(i=1; i<=prime[0]; ++i) > for(j=1120-prime[i]; j>=0; --j) > for(k=14; k>=1; --k) > opt[j+prime[i]][k] += opt[j][k-1]; Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator