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 |
WA细节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