Sort 94 Discussions, By:
Please Login in order to post a comment
could you please explain the 3rd test case
as how 4^(-1) mod 5 = 0.25 mod 5 = 4?
Why is this marked hard? Efficient exponentiation and mmi are basic algorithms that most of the people here should be able to write instantly from memory.
Use Extended Euclidean Algorith to find M.M.I
Basic Method would Cause T.L.E
Powerful Black Magic Specialist is there you have a difficult you basically can't get past you can leave him in his grasp and he will deal with it. You take help of a particularly Powerful Black Magic Specialist you can trust as you are in the most secure hands on the planet. In increases, He has helped hundreds and thousands of individuals across the globe. What's more, is quite famous for his extraordinary astrology and black magic work commitments also.
Simply, the following works in Java-