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:虽然是用kruskal的,因没考虑-1,wa一次,囧。。In Reply To:第一个prim 两次wa后ac 注意两点 Posted by:hitfrank at 2010-03-18 14:37:05 > 1 输入有可能出现重边 > 2 无生成树时输出-1 > 貌似第一次这两种情况都没有考虑到 Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator