摘要:
#include<iostream> #include<algorithm> using namespace std; const int maxn = 110; typedef long long ll; struct Node { long long x, y; ll gcd(ll a, ll 阅读全文
摘要:
#include<cstdio> #include<algorithm> #include<iostream> using namespace std; const int maxn = 1e5 + 5; void build(int root, int a[], int sum[], int st 阅读全文
摘要:
#include<cstdio> #include<iostream> #include<algorithm> using namespace std; int total[500005]; int n,m; int lowbit(int x) { return(~x+1)&x; } void ad 阅读全文