- 对于任意的 1≤i,j≤n,满足 ∣ai−aj∣≥∣i−j∣
- 该序列为非递减序列
- 任选序列的两个下标 i,j(i 与 j 可以相同),然后交换 ai,aj 的数值
2
1 1
-1
Anything about this OnlineJudge, Please Contact Administrator. Click add QQ
OJ system based on HUSTOJ Project , UI based on Twitter Bootstrap
Copyright 2016 ACM算法攻关部cnt: 143
关于网站改版