0_0_34036634_23568.cpp:1:1: error: expected unqualified-id before '{' token
{
^
0_0_34036634_23568.cpp:5:2: error: 'b' does not name a type
}b[N*4];
^
0_0_34036634_23568.cpp:6:26: error: 'm' was not declared in this scope
void build(int l=1,int r=m,int e=1)
^
0_0_34036634_23568.cpp: In function 'void build(int, int, int)':
0_0_34036634_23568.cpp:8:5: error: 'b' was not declared in this scope
b[e].mi=0,b[e].miv=0,b[e].mi1=INF;
^
0_0_34036634_23568.cpp:8:35: error: 'INF' was not declared in this scope
b[e].mi=0,b[e].miv=0,b[e].mi1=INF;
^
0_0_34036634_23568.cpp:12:5: error: 'trz' was not declared in this scope
trz[e]=tr0[e]=0;
^
0_0_34036634_23568.cpp:12:12: error: 'tr0' was not declared in this scope
trz[e]=tr0[e]=0;
^
0_0_34036634_23568.cpp: At global scope:
0_0_34036634_23568.cpp:18:42: error: 'm' was not declared in this scope
void changet(int l1,int r1,int l=1,int r=m,int e=1)
^
0_0_34036634_23568.cpp: In function 'void changet(int, int, int, int, int)':
0_0_34036634_23568.cpp:20:8: error: 'trz' was not declared in this scope
if(trz[e])return;
^
0_0_34036634_23568.cpp:23:9: error: 'trz' was not declared in this scope
trz[e]=1;
^
0_0_34036634_23568.cpp:24:9: error: 'tr0' was not declared in this scope
tr0[e]=zx[r+1]-zx[l];
^
0_0_34036634_23568.cpp:24:16: error: 'zx' was not declared in this scope
tr0[e]=zx[r+1]-zx[l];
^
0_0_34036634_23568.cpp:30:5: error: 'tr0' was not declared in this scope
tr0[e]=tr0[e<<1]+tr0[e<<1|1];
^
0_0_34036634_23568.cpp:31:16: error: 'zx' was not declared in this scope
if(tr0[e]==zx[r+1]-zx[l])trz[e]=1;
^
0_0_34036634_23568.cpp:31:30: error: 'trz' was not declared in this scope
if(tr0[e]==zx[r+1]-zx[l])trz[e]=1;
^
0_0_34036634_23568.cpp: In function 'void PD(int, int, int)':
0_0_34036634_23568.cpp:36:8: error: 'b' was not declared in this scope
if(b[e].la<=b[e].mi)return;
^
0_0_34036634_23568.cpp:37:5: error: 'b' was not declared in this scope
b[e].v-=(LL)(b[e].la-b[e].mi)*b[e].miv;
^
0_0_34036634_23568.cpp:37:14: error: 'LL' was not declared in this scope
b[e].v-=(LL)(b[e].la-b[e].mi)*b[e].miv;
^
0_0_34036634_23568.cpp:39:30: error: 'max' was not declared in this scope
b[e].L=max(b[e].L,b[e].la);
^
0_0_34036634_23568.cpp: In function 'void merge(int)':
0_0_34036634_23568.cpp:50:5: error: 'b' was not declared in this scope
b[e].v=b[e<<1].v+b[e<<1|1].v+abs(b[e<<1].R-b[e<<1|1].L);
^
0_0_34036634_23568.cpp:50:59: error: 'abs' was not declared in this scope
b[e].v=b[e<<1].v+b[e<<1|1].v+abs(b[e<<1].R-b[e<<1|1].L);
^
0_0_34036634_23568.cpp:57:42: error: 'min' was not declared in this scope
b[e].mi1=min(b[e].mi1,b[e<<1].mi1);
^
0_0_34036634_23568.cpp:60:41: error: 'min' was not declared in this scope
b[e].mi1=min(b[e].mi1,b[e<<1].mi);
^
0_0_34036634_23568.cpp:65:46: error: 'min' was not declared in this scope
b[e].mi1=min(b[e<<1].mi1,b[e<<1|1].mi);
^
0_0_34036634_23568.cpp: At global scope:
0_0_34036634_23568.cpp:69:48: error: 'm' was not declared in this scope
void change(int l1,int r1,int l2,int l=1,int r=m,int e=1)
^
0_0_34036634_23568.cpp: In function 'void change(int, int, int, int, int, int)':
0_0_34036634_23568.cpp:71:8: error: 'b' was not declared in this scope
if(b[e].mi>=l2)return;
^
0_0_34036634_23568.cpp:72:22: error: 'b' was not declared in this scope
if(l1<=l&&r<=r1&&b[e].mi1>l2)
^
0_0_34036634_23568.cpp: At global scope:
0_0_34036634_23568.cpp:86:24: error: 'm' was not declared in this scope
void PAO(int l=1,int r=m,int e=1)
^
0_0_34036634_23568.cpp: In function 'void PAO(int, int, int)':
0_0_34036634_23568.cpp:93:11: error: 'b' was not declared in this scope
int t=b[e].v;
^
0_0_34036634_23568.cpp: In function 'int main()':
0_0_34036634_23568.cpp:99:11: error: 'read' was not declared in this scope
read(_);
^
0_0_34036634_23568.cpp:102:14: error: 'n' was not declared in this scope
read(n);
^
0_0_34036634_23568.cpp:103:9: error: 'p' was not declared in this scope
p[0]=0;
^
0_0_34036634_23568.cpp:104:12: error: 'i' was not declared in this scope
fo(i,1,n)read(a[i][0]),read(a[i][1]),read(a[i][2]),p[++p[0]]=a[i][0],p[++p[0]]=a[i][1];
^
0_0_34036634_23568.cpp:104:17: error: 'fo' was not declared in this scope
fo(i,1,n)read(a[i][0]),read(a[i][1]),read(a[i][2]),p[++p[0]]=a[i][0],p[++p[0]]=a[i][1];
^
0_0_34036634_23568.cpp:105:26: error: 'sort' was not declared in this scope
sort(p+1,p+1+p[0]);
^
0_0_34036634_23568.cpp:106:33: error: 'unique' was not declared in this scope
p[0]=unique(p+1,p+1+p[0])-p-1;
^
0_0_34036634_23568.cpp:107:9: error: 'm' was not declared in this scope
m=p[0]-1;
^
|