Main.cc: In function ‘int main()’: Main.cc:8:44: error: expected ‘)’ before ‘;’ token cout<<(((n-1+mod)%mod)*((n-2+mod)%mod)%mod; ^