| ||||||||||
| 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:wuyifan at 2006-08-02 10:15:19 推导关系
for(k0 = start + 1; k0 < end; k0++)
{
temp2 = k0 + max(ans[k-1][start][k0-1], ans[k][k0+1][end]);
if(temp1 > temp2)
temp1 = temp2;
}
ans[k][start][end] = temp1;
Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator