• If you are citizen of an European Union member nation, you may not use this service unless you are at least 16 years old.

  • Files spread between Dropbox, Google Drive, Gmail, Slack, and more? Dokkio, a new product from the PBworks team, integrates and organizes them for you. Try it for free today.



Page history last edited by Kenneth Finnegan 11 years, 5 months ago

Project Euler Problem #52


I used a 6 by 10 array to store the counts of each digit for 1x, 2x, 3x, ... 6x.  I then just looped through them and checked to see if everything was equal, which would imply that they have the same number of the same digits.


Runtime: 0.184 seconds



Return to list of solutions

Comments (0)

You don't have permission to comment on this page.