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

用大、小、中方法的,看看这组数据

Posted by xmjt621 at 2009-03-23 21:04:35 on Problem 1363
5
3 1 4 2 5
0

注意1和2,这里不能用a[i]与a[i-1]或a[i+1]之类的判断,
还是老老实实用n以后所有小于n的都要降序来做吧 n^2级

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