0_0_28832981_26927.cpp: In function 'int main()': 0_0_28832981_26927.cpp:83:41: error: 'C' was not declared in this scope dp[j + k*i] += dp[j] * C(num[i], k); ^