Project Euler #79: Passcode derivation

  • + 0 comments

    My code is not pretty, but it worked, and despite being O(v^3) where v is the number of distinct characters in the logins, it's fast --- all testcases run in 0.05 s or less.