0_0_25982037_31172.cpp:14:1: error: 'vector' does not name a type
vector<int> pri[N];
^
0_0_25982037_31172.cpp: In function 'void init()':
0_0_25982037_31172.cpp:19:9: error: 'pri' was not declared in this scope
pri[i].clear();
^
0_0_25982037_31172.cpp:21:12: error: 'pri' was not declared in this scope
if(pri[i].size()==0)
^
0_0_25982037_31172.cpp: In function 'void hunt()':
0_0_25982037_31172.cpp:34:23: error: 'pri' was not declared in this scope
for(int j=0;j<pri[now].size();j++)
^
0_0_25982037_31172.cpp:37:41: error: 'max' was not declared in this scope
res[i].x=max(res[i].x,pre[t]);
^
0_0_25982037_31172.cpp:38:46: error: 'min' was not declared in this scope
res[pre[t]].y=min(res[pre[t]].y,i);
^
0_0_25982037_31172.cpp: In function 'void solve()':
0_0_25982037_31172.cpp:71:37: error: 'memset' was not declared in this scope
memset(inverse,0,sizeof(inverse));
^
0_0_25982037_31172.cpp:72:27: error: 'sort' was not declared in this scope
sort(query+1,query+1+m);
^
0_0_25982037_31172.cpp:93:29: error: 'printf' was not declared in this scope
printf("%d\n",ans[i]);
^
0_0_25982037_31172.cpp: In function 'int main()':
0_0_25982037_31172.cpp:99:29: error: 'scanf' was not declared in this scope
while(scanf("%d%d",&n,&m)!=EOF&&n)
^
0_0_25982037_31172.cpp:99:32: error: 'EOF' was not declared in this scope
while(scanf("%d%d",&n,&m)!=EOF&&n)
^
|