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:谁说这是水题的,C名题来着

Posted by ragnarok01 at 2012-11-15 20:53:51 on Problem 2388
In Reply To:谁说这是水题的,C名题来着 Posted by:shilong at 2011-09-12 11:14:31
> 如果先排序,再找中位数,那是很简单的。
> 但如果不用排序呢?怎么找到中位数?
> 仔细研究一下快速排列法的partition()的程序与快速排列法的内涵,
> 可以得到一个不错的方法。

还有种算法叫计数排序

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