hdu 4777 Rabbit Kingdom 离线树状数组
摘要:
#include#include#include#includeusing namespace std;const int maxn=200100;struct Q{ int l,r,id; bool operator hav[maxn],vt[maxn];int n,m;void getp(){ int cnt,i,j; cnt=0; memset(isp,true,sizeof(isp)); isp[0]=isp[1]=false; for(i=2;i1)hav[i].push_back(ti); }}int lowbit(int i){ ... 阅读全文
posted @ 2013-11-12 23:58 Hungry3 阅读(170) 评论(0) 推荐(0)
浙公网安备 33010602011771号