摘要:
一开始我用线段树去做,结果debug了一个下午和晚上QAQ,后来学了珂朵莉树,发现这题原来可以这么简单的写,发出两个代码对比一下 #include<bits/stdc++.h> #define ll unsigned long long using namespace std; const ll I 阅读全文
摘要:
#include<bits/stdc++.h> using namespace std; const int N = 50005*4; const double PI = acos(-1); typedef complex <double> cp; char sa[N], sb[N]; int n 阅读全文