0_0_37776604_4434.cpp: In function 'int main()': 0_0_37776604_4434.cpp:22:46: error: 'mod' was not declared in this scope dp[i][j]=(dp[i-1][j]+dp[i][j-i])%mod; ^