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

up up

Posted by cock at 2006-10-27 18:26:43
In Reply To:问个问题~~~~~(in) Posted by:cock at 2006-10-27 14:17:16
> 1. n个整数满足a(i)<=a(i+1)+p,p是常数,O(n)排序咋做? 
> 2. n个整数,ai只和a(i-k)---a(i+k)之间的数交换,O(n^2/k)排序咋做? 

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