0_0_36871234_19097.cpp:16:5: error: stray '\241' in program
for(int i=x;i≤len;i+=lowbit(i))
^
0_0_36871234_19097.cpp:16:5: error: stray '\334' in program
0_0_36871234_19097.cpp:7:1: error: expected initializer before 'int'
int li[MAXN/3],ri[MAXN/3],c[MAXN]; //花开的起始时间、结束时间、树状数组
^
0_0_36871234_19097.cpp: In function 'void add(int, int, int)':
0_0_36871234_19097.cpp:16:20: error: expected ';' before 'len'
for(int i=x;i≤len;i+=lowbit(i))
^
0_0_36871234_19097.cpp:16:23: error: expected ')' before ';' token
for(int i=x;i≤len;i+=lowbit(i))
^
0_0_36871234_19097.cpp:16:24: error: 'i' was not declared in this scope
for(int i=x;i≤len;i+=lowbit(i))
^
0_0_36871234_19097.cpp: In function 'long long int query(int)':
0_0_36871234_19097.cpp:27:14: error: 'c' was not declared in this scope
ans+=c[i];
^
0_0_36871234_19097.cpp: In function 'int bSerach(int, int)':
0_0_36871234_19097.cpp:34:24: error: 'getNum' was not declared in this scope
return lower_bound(getNum,getNum+len,num)-getNum+1;
^
0_0_36871234_19097.cpp: In function 'int main()':
0_0_36871234_19097.cpp:42:16: error: 'c' was not declared in this scope
memset(c,0,sizeof(c));
^
0_0_36871234_19097.cpp:43:16: error: 'getNum' was not declared in this scope
memset(getNum,0,sizeof(getNum));
^
0_0_36871234_19097.cpp:48:27: error: 'li' was not declared in this scope
scanf("%d%d",&li[i],&ri[i]);
^
0_0_36871234_19097.cpp:48:34: error: 'ri' was not declared in this scope
scanf("%d%d",&li[i],&ri[i]);
^
0_0_36871234_19097.cpp:69:25: error: 'li' was not declared in this scope
add(bSerach(li[i],cnt2),1,cnt2); //位置bSerach(li[i],cnt2)~位置cnt2均增加1
^
0_0_36871234_19097.cpp:70:25: error: 'ri' was not declared in this scope
add(bSerach(ri[i],cnt2)+1,-1,cnt2); //位置bSerach(lr[i]+1,cnt2)~位置cnt2均增加-1
^
|