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