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:有没不用Floyd 做的啊.........网上翻了半天都是一样的...小弟代码如下 希望指点一下In Reply To:有没不用Floyd 做的啊.........网上翻了半天都是一样的...小弟代码如下 希望指点一下 Posted by:jp_test at 2009-03-20 20:48:57 我就没用Floyd做的,我的就是简单的bfs 加上dfs求连通到的节点,然后加和,等于n-1的就记入在内. Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator