codeforces582c专题

codeforces582C. Superior Periodic Subarrays

传送门:http://codeforces.com/problemset/problem/582/C 思路:首先观察题目条件,对于一个数a[i]能出现在“Superior Periodic Subarrays” 首先它要满足对于任意k属于N,a[i]>=a[i+k*n] 并且对于任意k属于N,a[i]>=a[i+k*s] 那么就是任意k属于N,a[i]>=a[i+k*d](d=gcd