0_0_24909079_15076.cpp:9:1: error: 'vector' does not name a type
vector<int>v[100000];
^
0_0_24909079_15076.cpp: In function 'int main()':
0_0_24909079_15076.cpp:15:26: error: 'memset' was not declared in this scope
memset(vp,0,sizeof vp);
^
0_0_24909079_15076.cpp:24:29: error: 'v' was not declared in this scope
for(int j=0;j<pcnt;j++)v[p[j]].clear();
^
0_0_24909079_15076.cpp:30:21: error: 'v' was not declared in this scope
v[p[j]].push_back(i);
^
0_0_24909079_15076.cpp:34:20: error: 'v' was not declared in this scope
if(a>1)v[a].push_back(i);
^
0_0_24909079_15076.cpp:42:40: error: 'v' was not declared in this scope
ll len=upper_bound(v[p[j]].begin(),v[p[j]].end(),r)
^
0_0_24909079_15076.cpp:42:71: error: 'upper_bound' was not declared in this scope
ll len=upper_bound(v[p[j]].begin(),v[p[j]].end(),r)
^
0_0_24909079_15076.cpp:48:36: error: 'v' was not declared in this scope
ll len=upper_bound(v[d].begin(),v[d].end(),r)
^
0_0_24909079_15076.cpp:48:61: error: 'upper_bound' was not declared in this scope
ll len=upper_bound(v[d].begin(),v[d].end(),r)
^
|