Power - Mod Power

  • + 0 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')