{"author_name":"noriok","provider_url":"https://hatena.blog","title":"Project Euler 19","height":"190","blog_url":"https://noriok.hatenadiary.jp/","description":"Problem 19 using System; class PE019 { static void Main() { int ans = 0; var d = new DateTime(1901, 1, 1); var endDate = new DateTime(2000, 12, 31); while (d < endDate) { if (d.DayOfWeek == DayOfWeek.Sunday) { ans++; } d = d.AddMonths(1); } Console.WriteLine(ans); } }","type":"rich","author_url":"https://blog.hatena.ne.jp/noriok/","url":"https://noriok.hatenadiary.jp/entry/2014/05/26/004033","categories":["C#","PE"],"blog_title":"C#\u7df4\u7fd2\u65e5\u8a18","version":"1.0","published":"2014-05-26 00:40:33","image_url":null,"width":"100%","provider_name":"Hatena Blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fnoriok.hatenadiary.jp%2Fentry%2F2014%2F05%2F26%2F004033\" title=\"Project Euler 19 - C#\u7df4\u7fd2\u65e5\u8a18\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>"}