problem find a/b modulo 10^9+7 .... mod=10^9+7 bcoz a and b some value which more than mod...
so the solution uses a/b= ( (a%mod) * ( (b%mod) ^ mod-2 ) ) % mod why..... -- You received this message because you are subscribed to the Google Groups "Google Code Jam" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-code?hl=en.
