摘要: #include<cstdio> #include<iostream> #include<vector> #include<queue> using namespace std; typedef long long ll; const int maxn=3e5+10, mod = 998244353 阅读全文
posted @ 2020-06-01 15:12 Faker_fan 阅读(255) 评论(0) 推荐(0) 编辑
摘要: 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; } 阅读全文
posted @ 2020-06-01 12:27 Faker_fan 阅读(210) 评论(0) 推荐(0) 编辑
摘要: 有障碍, ***。。 。。。。 求回路数量 #include <cstdio> #include <cstring> #include <iostream> #include <cmath> using namespace std; typedef long long LL; const int L 阅读全文
posted @ 2020-06-01 11:44 Faker_fan 阅读(149) 评论(0) 推荐(0) 编辑
摘要: // `计算几何模板` 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 阅读全文
posted @ 2020-06-01 00:41 Faker_fan 阅读(89) 评论(0) 推荐(0) 编辑