CodeForces 255C Almost Arithmetical Progression (DP+离散化)
发现规律序列为a,b,a,b,a,b即可.#include<bits/stdc++.h>using namespace std;#define debug puts("YES");#define rep(x,y,z) for(int (x)=(y);(x)<(z);(x)++)#define ll long long#define lrt int l,in...