0_0_16771711_18410.cpp: In function 'int main()': 0_0_16771711_18410.cpp:65:39: error: 'mod' was not declared in this scope ans=(ans+(ll)j*dp[n-1][j]%mod+mod)%mod1; ^