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 Akai at 2010-01-27 21:35:08 on Problem 1788
先按X为第一关键字 Y为第二关键字 快排 相邻的两个(2*n-1,a*n)的Y之差就是所有竖着的栅栏
然后再按Y第一关键字 X第二关键字 再快排一次 相邻的X之差就是横着的栅栏 
这个题 居然就是这么简单.........

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