摘要: #include <iostream> #include <cmath> using namespace std; #define N 300004 int d[N]; int distance(int n); int main() { //把每个要删除的数字的位置记录下来 //并且计算出他们到自己 阅读全文
posted @ 2023-05-18 22:49 刘海烽 阅读(18) 评论(0) 推荐(0)
摘要: #include<cstdio> #include<iostream> const int MAXN=1000005; const int INF=0x3f3f3f3f; const int mod=998244353; using namespace std; int pre[MAXN], a[M 阅读全文
posted @ 2023-05-18 13:51 刘海烽 阅读(49) 评论(0) 推荐(0)