A place to air possible concerns or difficulties in understanding ProjectEuler problems. This forum is not meant to publish solutions. This forum is NOT meant to discuss solution methods or giving hints how a problem can be solved.
Forum rules
As your posts will be visible to the general public you are requested to be thoughtful in not posting anything that might explicitly give away how to solve a particular problem.
This forum is NOT meant to discuss solution methods for a problem.
In particular don't post any code fragments or results.
Don't start begging others to give partial answers to problems
Don't ask for hints how to solve a problem
Don't start a new topic for a problem if there already exists one
Made nice code to calculate that, but it gives allways false answer (at least problem page says that ).
For debugging help could someone please tell how much rectangles contains 5x4 grid?
Can anyone explain to me why am I getting 816 x 3 as the closest result.
I mean if anyone could check how many rectangles does this size of grid contain?
Your answer is a near miss - it is a just little over 2000000 - but you can get closer.
Remember that you can also get close to 2000000 by being just under it.