0_0_35188300_24157.cpp: In function 'int main()': 0_0_35188300_24157.cpp:51:23: error: 'maxm' was not declared in this scope for(int i=1;i<maxm;i++)dp[i]=-1,exist[i]=0; ^