0_0_18079070_19759.cpp: In function 'int main()': 0_0_18079070_19759.cpp:26:59: error: 'mod' was not declared in this scope else dp[i][j]=(1LL*dp[i-1][j]+dp[i][j-1]-dp[i-1][j-1]+mod)%1000000007; ^