[UVA][分治] 11129 - An antiarithmetic permutation
Problem A: An antiarithmetic permutation
A permutation of n+1 is a bijective function of the initial
n+1 natural numbers: 0, 1, ... n. A permutation
p is called antiarithmetic if there is no subsequence of it
forming an arithmetic progression of length bigger than 2, i.e...