Thursday, May 6, 2010

Problem 11

This one was harder than it needed to be. Take a 20x20 array of numbers between 0 and 99, and find the largest product of four numbers in a row -- horizontally, vertically, or diagonally. The program was actually fine, but I forgot to feed it the initial array. Not even smart enough to rise to the level of a rookie move. I was distracted, which (according to The Phantom Tollbooth) would have landed me in the Doldrums.

No comments:

Post a Comment