摘要:
#include<cstdio> #include<iostream> #include<vector> #include<queue> using namespace std; typedef long long ll; const int maxn=3e5+10, mod = 998244353 阅读全文
摘要:
ll result_len,result[maxn],level=0,trans[maxn]; ll quick(ll a,ll b,ll m) { ll ans=1; while(b>0) { if(b&1) ans=ans*a%m; a=a*a%m; b>>=1; } return ans; } 阅读全文
摘要:
有障碍, ***。。 。。。。 求回路数量 #include <cstdio> #include <cstring> #include <iostream> #include <cmath> using namespace std; typedef long long LL; const int L 阅读全文
摘要:
// `计算几何模板` const double eps = 1e-8; const double inf = 1e20; const double pi = acos(-1.0); const int maxp = 1010; //`Compares a double to zero` int s 阅读全文