math and programming
Sunday, March 31, 2013
project euler problem 085
Counting rectangles
Since an analytical formula is available for total the number of rectangles, the rest is simply sweeping all possible length and width. It takes less than 1ms to find the answer.
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment