{"width":"100%","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Finamori.hateblo.jp%2Fentry%2F20130708%2Fp1\" title=\"C#\u3067Project Euler\uff085\uff09 \u901f\u5ea6 - inamori\u2019s diary\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","version":"1.0","provider_url":"https://hatena.blog","url":"https://inamori.hateblo.jp/entry/20130708/p1","categories":["C#"],"image_url":null,"published":"2013-07-08 00:00:00","blog_url":"https://inamori.hateblo.jp/","title":"C#\u3067Project Euler\uff085\uff09 \u901f\u5ea6","author_url":"https://blog.hatena.ne.jp/inamori/","author_name":"inamori","type":"rich","provider_name":"Hatena Blog","height":"190","description":"\u3053\u3053\u3067\u6642\u9593\u8a08\u6e2c\u3092\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002 using System; using System.Linq; class e001 { static void Main(string[] args) { var sw = new System.Diagnostics.Stopwatch(); sw.Start(); const int N = (int)1e9; var s = Enumerable.Range(1, N - 1). Where(n => n % 3 == 0 || n % 5 == 0). Select(n => (long)n).Sum(); Console.WriteLine(s)\u2026","blog_title":"inamori\u2019s diary"}