Power - Mod Power
February 08, 2024
Task You are given three integers: , , and . Print two lines. On the first line, print the result of pow(a,b). On the second line, print the result of pow(a,b,m).
Sample Input
Sample Output
Last updated
February 08, 2024
Task You are given three integers: , , and . Print two lines. On the first line, print the result of pow(a,b). On the second line, print the result of pow(a,b,m).
Sample Input
Sample Output
Last updated