0_0_35458183_1274.cpp: In function 'int main()': 0_0_35458183_1274.cpp:24:24: error: 'M' was not declared in this scope cout << N - dp[M] << endl; ^