摘要:
题链 #include <bits/stdc++.h> using namespace std; #define LL long long #define ls rt<<1 #define rs rt<<1|1 #define eps 1e-9 #define mod 998244353 #defi 阅读全文
摘要:
#include <iostream> #include <cmath> #define M_PI acos(-1.0) using namespace std; /* get angle ACB, point C is the center point A(x1,y1) B(x2,y2) C(x3 阅读全文
摘要:
史上最易懂的后缀自动机讲解!独创理解思路还有例题讲解~ O(nlogn) #include<bits/stdc++.h> using namespace std; typedef long long ll; const int N=100010; int wa[N],wb[N],wv[N],wss[ 阅读全文
摘要:
题链 套了题解区的板子 #include <bits/stdc++.h> using namespace std; #define LL long long #define MS 1000009 int n,m; int p1[MS], p2[MS]; double ac[MS<<1]; // 洛谷 阅读全文