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

这样是n^2吧 居然也能过? 我们都不敢写

Posted by TheBeet at 2008-09-29 21:10:10
In Reply To:扩展1,找到所有和1相连的,然后扩展这些节点,然后再找新增的和1相连的,直到找不到…… Posted by:ACM06Louty at 2008-09-29 20:09:08


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