0_0_14925662_32649.cpp: In function 'int main()': 0_0_14925662_32649.cpp:36:32: error: 'num' was not declared in this scope dp[i][a[i]]=(dp[i][num[i]]+1)%MOD; ^