1
0
www.mikescher.com/www/statics/euler/Euler_Problem-019_explanation.md

3 lines
201 B
Markdown
Raw Permalink Normal View History

2017-11-08 17:39:50 +01:00
In the first two rows we remember the day-count of each month.
First row is normal years, second row leap years.
Then we just enumerate through all days and test if its a Sunday and the first of month.