摘要: CF补题:A题:忘记memset,浪费时间B题:只想到相隔偶数就算,但是没想好用什么方法计算可以和滚动优化一样,只记录上一次的位置#include <bits/stdc++.h> using namespace std; const int N=1e5+10; int a[N],pre[N],ans 阅读全文
posted @ 2022-07-19 08:48 好腻友Π 阅读(34) 评论(0) 推荐(0)