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