0_0_33548948_8290.cpp: In function 'int main()': 0_0_33548948_8290.cpp:66:37: error: 'mod2' was not declared in this scope ans = (ans % mod1 + mod1) % mod2; ^