随笔分类 - AC自动机
摘要:复杂度n^2 ,没想出来怎么优化,‘*’赋值可以差分写,不过不减复杂度 #include <queue> #include <cstdlib> #include <cmath> #include <cstdio> #include <string> #include <cstring> #inclu
阅读全文
摘要:#include<bits/stdc++.h> #define fi first #define se second #define io std::ios::sync_with_stdio(false) using namespace std; typedef long long ll; type
阅读全文
摘要:#include <queue> #include <cstdlib> #include <cmath> #include <cstdio> #include <string> #include <cstring> #include <iostream> #include <algorithm> u
阅读全文

浙公网安备 33010602011771号