| ||||||||||
Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |
用大、小、中方法的,看看这组数据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: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator