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:WA细节In Reply To:WA细节 Posted by:nijiushun at 2012-04-25 21:28:11 > for(k=1;k<=n;k++) //探测点位置一定放前边,否则WA..... > for(i=1;i<=n;i++) > for(j=1;j<=n;j++) > > if(i!=j && d[i][j]>d[i][k]+d[k][j]) > d[i][j]=d[i][k]+d[k][j];//FLOYD 为什么呢??我感觉都一样啊。。。求解。。 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator