0_0_32319048_9393.cpp: In function 'void hunt()':
0_0_32319048_9393.cpp:3:20: error: 'n' was not declared in this scope
for(int i=1;i<=n;i++)
^
0_0_32319048_9393.cpp:4:9: error: 'res' was not declared in this scope
res[i].x=0,res[i].y=n+1,res[i].r=i;
^
0_0_32319048_9393.cpp:5:19: error: 'N' was not declared in this scope
for(int i=1;i<N;i++)
^
0_0_32319048_9393.cpp:6:9: error: 'pre' was not declared in this scope
pre[i]=0;
^
0_0_32319048_9393.cpp:7:20: error: 'n' was not declared in this scope
for(int i=1;i<=n;i++)
^
0_0_32319048_9393.cpp:9:19: error: 'num' was not declared in this scope
int now = num[i];
^
0_0_32319048_9393.cpp:10:23: error: 'pri' was not declared in this scope
for(int j=0;j<pri[now].size();j++)
^
0_0_32319048_9393.cpp:13:13: error: 'res' was not declared in this scope
res[i].x=max(res[i].x,pre[t]);
^
0_0_32319048_9393.cpp:13:35: error: 'pre' was not declared in this scope
res[i].x=max(res[i].x,pre[t]);
^
0_0_32319048_9393.cpp:13:41: error: 'max' was not declared in this scope
res[i].x=max(res[i].x,pre[t]);
^
0_0_32319048_9393.cpp:14:46: error: 'min' was not declared in this scope
res[pre[t]].y=min(res[pre[t]].y,i);
^
|