Online JudgeProblem SetAuthorsOnline ContestsUser
Web Board
Home Page
F.A.Qs
Statistical Charts
Problems
Submit Problem
Online Status
Prob.ID:
Register
Update your info
Authors ranklist
Current Contest
Past Contests
Scheduled Contests
Award Contest
User ID:
Password:
  Register

用kruskal的同学注意了

Posted by Deny5601 at 2018-10-14 16:19:22 on Problem 1679
删边的时候一定要判断这条边是否是桥!!(可以加一个判断cnt==n-1即可),否则会挂掉。一定要小心!!我爆了15发

Followed by:

Post your reply here:
User ID:
Password:
Title:

Content:

Home Page   Go Back  To top


All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator