10 2024 档案

摘要:莫队+分块 值域分块,每个块处理有多少个书出现过。 #include <bits/stdc++.h> using namespace std; inline void read(int& x) { x=0; int f=1; char c=getchar(); while(c<'0'||c>'9') 阅读全文
posted @ 2024-10-30 18:29 tyccyt 阅读(9) 评论(0) 推荐(0)