You are viewing a single comment's thread. Return to all comments →
Here's my oneline code:
print(*(lambda a,b,m : (pow(a, b), pow(a, b, m)))(*[int(input()) for _ in range(3)]), sep='\n')
Seems like cookies are disabled on this browser, please enable them to open this website
Power - Mod Power
You are viewing a single comment's thread. Return to all comments →
Here's my oneline code: