As we know 1000000007 is a large prime number. How can I find multiplication of two large numbers modulo 1000000007
For example if I want to find 78627765*67527574 mod 1000000007, how can I do it.
At least if anyone tell me the procedure I shall try
Note: pls let me know the solution with primitive datatypes like int,long or long long Thanks in advance
See Question&Answers more detail:os