0_0_16901464_21190.cpp: In function 'int main()': 0_0_16901464_21190.cpp:33:19: error: 'num' was not declared in this scope dp[i][num[i]]=(dp[i][num[i]]+1)%mod; ^