0_0_21418422_28904.cpp: In function 'int main()': 0_0_21418422_28904.cpp:33:60: error: expected ')' before ';' token ans=(a%mod+(((k-1)%mod)*(mid1%mod)%mod)%mod; ^