codeforce978C-Almost Arithmetic Progression+暴力,枚举前两个数字的情况

NoSuchKey