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

n的平方算法的贪心就可以了,pku服务器还是蛮好的,呵!浙大OJ上挂掉了,所以还是写了个二分的算法。WA的人试试这组数据?

Posted by ssadwlll at 2008-07-12 00:41:54 on Problem 3636 and last updated at 2008-07-12 12:22:14
5
1 8 2 4 3 3 4 5 5 4

asn=3

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