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

当时先暴力了一下, tle; 然后, 对于每一个方格设一个变量, 表示它右侧第一个未拿掉的小格子的位置, 这就是所谓的并查集

Posted by 4Meal at 2006-06-30 01:14:11 on Problem 2843
In Reply To:为什么要用set?为什么不自己实现一些数据结构? Posted by:frkstyc at 2006-06-26 02:01:34


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