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

并查集是可以删除的,维护向下的指针,每次把要删除的结点向下放,再路径压缩就行了

Posted by lunatec at 2008-11-23 17:04:51
In Reply To:J题怎么孤立节点啊 ? Posted by:wangxuyang at 2008-11-23 16:27:02
还是直接建个结点比较方便...

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