0_0_30453338_23261.cpp:64:10: error: 'maxp' was not declared in this scope
int dp[maxp][maxn];
^
0_0_30453338_23261.cpp: In member function 'void stable::cal(int*, int)':
0_0_30453338_23261.cpp:66:16: error: 'dp' was not declared in this scope
rep(i,1,n) dp[0][i]=a[i];
^
0_0_30453338_23261.cpp:68:7: error: 'dp' was not declared in this scope
dp[j][i]=min(dp[j-1][i],dp[j-1][i+(1<<(j-1))]);
^
0_0_30453338_23261.cpp: In member function 'int stable::query(int, int)':
0_0_30453338_23261.cpp:73:16: error: 'dp' was not declared in this scope
return min(dp[lg][l],dp[lg][r-(1<<lg)+1]);
^
|