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

Re:网上的一段代码……请教大牛

Posted by caipiaoge at 2008-08-20 12:08:50 on Problem 2352
In Reply To:网上的一段代码……请教大牛 Posted by:killua_hzl at 2008-08-19 15:19:31
1、本题用的是树状数组,请参考
http://blog.163.com/lfw2565295@126/blog/static/12200516200831883334525/

2、注意题目中有这句话:
Stars are listed in ascending order of Y coordinate. Stars with equal Y coordinates are listed in ascending order of X coordinate. 
所以不必考虑y。

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