Project Euler #85: Counting rectangles

  • + 1 comment

    I have been stuck with this for a while. What saved me was thinking about the rectangle 1999 x 1 and how many rectangles it contains ;-)