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 gzw_02 at 2008-07-09 09:30:51 on Problem 1027
1、DFS遍历全图,记录每个cluster的点数,所有点的位置,最左下的点的位置。
2、输出优先级最高的cluster的点数,最左下点位置,删除之,调整图(先垂直(从上到下)、后水平(从右到左))。
重复1、2直到所有cluster的点不超过1。   

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