0_0_33595976_32270.cpp: In function 'int sol(int, int)': 0_0_33595976_32270.cpp:10:42: error: 'mod' was not declared in this scope dp[i+1][j]=(dp[i+1][j]+dp[i][j])%mod; ^