0_0_20848148_24947.cpp: In function 'int main()':
0_0_20848148_24947.cpp:25:5: error: 'sum' was not declared in this scope
sum=0;
^
0_0_20848148_24947.cpp:33:19: error: 'dp' was not declared in this scope
while(max(dp[r]+1,i-r)==dp[i])
^
0_0_20848148_24947.cpp:38:19: error: 'dp' was not declared in this scope
while(max(dp[l]+1,i-l)>dp[i])
^
0_0_20848148_24947.cpp:48:15: error: 'dp' was not declared in this scope
cout<<dp[b-a+1]<<" "<<c[b-a+1]<<endl;
^
|