HDU 4970 Killing Monsters 樹狀數組

  #include <bits/stdc++.h> using namespace std; #define N 100009 long long c[N],sum[N],n; long long lowbit(long long x){ return (x&(-x)); } void add(long long i,long long d){ while(i>=1){ c[i]+=
相關文章
相關標籤/搜索