Loading...
题目链接AnimismBitwise XorCountingDecisionExpectationFlowerGamebool vis[maxn]; ll x[maxn],y[maxn]; ll dis(int a,int b){ return (x[a] - x[b])*(x[a] - x[b]) + (y[a] - y[b])*(y[a] - y[b]); } struc...
比赛链接HDU6802 Anti-AK ProblemHDU6803 Blow up the Enemyconst int mod = 1e9+7; const int inf = 0x3f3f3f3f; const int maxn = 2e5+10; int a[maxn],b[maxn]; int main(){ #ifdef LOCAL //freopen("D:/...
题目链接HDU6751 Avian Darts(待补)HDU6752 Boring Task(二进制)HDU6753 Cookies代码:分快打表const int maxn=1e5+7; const int d=2.5e6; const int up=1e5; ll p[maxn]; ll a[4010]={0,876804130,2440016214,...,19080846878076...
比赛链接A Clam and Fishint a[maxn]; Anoyer(){ #ifdef LOCAL fcin; //fcout; #endif times{ int n; sf(n); int cnt=0,cnta=0; Fup(i,n){ scanf("%1d...
题目链接A. B-Suffix Arrayconst bool IOS=false; //关闭流同步 const double PI = acos(-1); const double eps = 1e-8; const ll linf = 0x3f3f3f3f3f3f3f3f; const ll INV2=500000004; const int mod = 998244353...