Project Euler #122: Efficient exponentiation

  • + 0 comments

    What surprised me the most was that it didn't require memoization.