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:100 ms- 的解法是什么思路?

Posted by test722_ at 2009-10-20 20:56:27 on Problem 3663 and last updated at 2009-10-20 20:58:10
In Reply To:100 ms- 的解法是什么思路? Posted by:Dir at 2009-08-26 23:17:42
> 呼唤100 ms-的大牛帮忙解答~~
也可以用数组标记.1<=s<=1000000;排序,开一个1000000的数组d作标记,则d[k]就是length小于等于k的个数,注意length可能相等,最后从小到大进行线性查找。

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