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

Re:我怎么感觉很多程序的DP拓扑序列不准确,感觉算出答案的根据布什当前最优的

Posted by litter at 2009-09-16 19:07:06 on Problem 1191
In Reply To:我怎么感觉很多程序的DP拓扑序列不准确,感觉算出答案的根据布什当前最优的 Posted by:litter at 2009-09-16 19:06:26
for(number=1;number<n;number++)
    for(j=0;j<8;j++)//y1
    for(i=0;i<8;i++)//x1
    for(l=j;l<8;l++)//y2
    for(k=i;k<8;k++)//x2

我感觉正确的循环顺序应该是这样的。。。

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