Exotic
CodeForces 1864F Exotic Queries
[洛谷传送门](https://www.luogu.com.cn/problem/CF1864F "洛谷传送门") [CF 传送门](https://codeforces.com/problemset/problem/1864/F "CF 传送门") 感觉 $\text{F x$ 时答案就不用 $+ ......
CF1864F. Exotic Queries
我 是 傻 逼。 先不管那个限制。如果有一个序列 $a$,怎么求答案? 假设我们一个一个减,那么答案就是序列长度;但是,我们不一定会一个一个减:如果有 $x 点击查看代码 ```cpp #include #define int long long using namespace std; const ......