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

这个算法已经达到题目平凡下界Omega(n)了,还能怎么优化?再优化就是细节上的了

Posted by Exile_oi at 2006-05-03 20:47:26 on Problem 2350
In Reply To:有没有好的算法,我是在输入时求出平均值,再要扫描一遍求得高于平均分的人数,这个算法好像不好吧. Posted by:Bupt_Pig at 2006-03-03 22:42:28
> 有没有好的算法,我是在输入时求出总和,再求平均数,再要扫描一遍求得高于平均分的人数,这个算法好像不好吧.

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