0_0_28225659_4518.cpp: In function 'void Down(int)':
0_0_28225659_4518.cpp:6:5: error: 'add' was not declared in this scope
if(add[id[x]]!=-1)return ;
^
0_0_28225659_4518.cpp:7:21: error: 'l' was not declared in this scope
for(int i=max(1,id[l]*S);i<min((id[l]+1)*S,n+1);i++)a[i]=add[x];
^
0_0_28225659_4518.cpp:7:59: error: 'add' was not declared in this scope
for(int i=max(1,id[l]*S);i<min((id[l]+1)*S,n+1);i++)a[i]=add[x];
^
0_0_28225659_4518.cpp:8:2: error: 'add' was not declared in this scope
add[x]=-1;
^
0_0_28225659_4518.cpp: In function 'void Update(int, int, int)':
0_0_28225659_4518.cpp:11:57: error: 'add' was not declared in this scope
for(int i=id[l]+1;i<id[r];i++)mp[i].clear(),mp[i][z]=S,add[i]=Z;
^
0_0_28225659_4518.cpp:11:64: error: 'Z' was not declared in this scope
for(int i=id[l]+1;i<id[r];i++)mp[i].clear(),mp[i][z]=S,add[i]=Z;
^
0_0_28225659_4518.cpp:12:19: error: 'kk' was not declared in this scope
if(id[l]==id[r]){kk
^
|