0_0_32396568_5716.cpp: In function 'int main()': 0_0_32396568_5716.cpp:24:17: error: 'num' was not declared in this scope dp[i] = num[i]; ^