| ||||||||||
| 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 | |||||||||
原来只是一个无环图。。。普通广搜就可以了。哎~~~~In Reply To:我用dis[i][j]代表第i个点当前最短路径%k=j为状态。然后优队bfs。tle了~~~~~~~~~ Posted by:DieIng at 2008-10-19 17:05:13 害死队友了 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator