0_0_27956078_19435.cpp:10:1: error: invalid use of template-name 'std::vector' without an argument list
vector
^
0_0_27956078_19435.cpp: In function 'void update_l(int)':
0_0_27956078_19435.cpp:31:19: error: 'vl' was not declared in this scope
for(int i=0;i<vl[l].size();i++)
^
0_0_27956078_19435.cpp:34:12: error: 'p' was not declared in this scope
if(p<=r)temp+=1ll*(p-last+1)*g,last=p+1;
^
0_0_27956078_19435.cpp: In function 'void update_r(int)':
0_0_27956078_19435.cpp:47:19: error: 'vr' was not declared in this scope
for(int i=0;i<vr[r].size();i++)
^
0_0_27956078_19435.cpp:50:12: error: 'p' was not declared in this scope
if(p>=l)temp+=1ll*(last-p+1)*g,last=p-1;
^
0_0_27956078_19435.cpp: In function 'int main()':
0_0_27956078_19435.cpp:69:13: error: 'vl' was not declared in this scope
vl[i].clear(),vr[i].clear();
^
0_0_27956078_19435.cpp:69:27: error: 'vr' was not declared in this scope
vl[i].clear(),vr[i].clear();
^
0_0_27956078_19435.cpp:71:9: error: 'vl' was not declared in this scope
vl[n+1].clear(),vr[0].clear();
^
0_0_27956078_19435.cpp:71:25: error: 'vr' was not declared in this scope
vl[n+1].clear(),vr[0].clear();
^
|