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:那么复杂的逻辑……你是不是想复杂了…… Posted by:frkstyc at 2006-12-03 19:46:08 没啊,我比较傻,保存了从一个顶点到另一顶点的所有边,反正边的总数才10000.. 然后从小到大排序,接着BFS... Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator