Saturday, June 25, 2011

Project Euler 8 solution



This was easy once I found a good way to handle stepping through the array. I went with subtracting '0' (the character, not the number) from the elements in the array for getting the actual number. atoi() was not working the way I wanted it to, but I didn't really explore the option with a smaller sanity check program.

No comments:

Post a Comment