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:我用prim算法怎么过不了,高手给看下吧In Reply To:我用prim算法怎么过不了,高手给看下吧 Posted by:zjut019 at 2009-01-15 12:17:59 for(i=0;i<q;i++)//已有路径 { scanf("%d %d",&x,&y); mat[x][y]=0;//赋值为0 mat[y][x]=0 //也要赋为0 } Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator