0

Given positive integers a,b and m., Compute a^b%m. Assume a<=10^9, b<=10^18, m<=10^9.

Try sample input as a=999999999, b=10^18, m=10^9

2nd Apr 2020, 5:33 AM
Anjali Yadav
Anjali Yadav - avatar
1 Resposta
2nd Apr 2020, 5:51 AM
Kashyap Kumar
Kashyap Kumar - avatar