{"type":"rich","provider_name":"Hatena Blog","version":"1.0","title":"\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u30aa\u30a4\u30e9\u30fc\uff081\uff09","blog_url":"https://inamori.hateblo.jp/","provider_url":"https://hatena.blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Finamori.hateblo.jp%2Fentry%2F20090422%2Fp1\" title=\"\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u30aa\u30a4\u30e9\u30fc\uff081\uff09 - 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>","author_name":"inamori","blog_title":"inamori\u2019s diary","published":"2009-04-22 00:00:00","categories":["\u6570\u5b66","Python"],"url":"https://inamori.hateblo.jp/entry/20090422/p1","width":"100%","image_url":null,"description":"Project Euler http://projecteuler.net/index.php \u5b58\u5728\u3092\u77e5\u3063\u3066\u306f\u3044\u305f\u304c\u3001\u898b\u305f\u3053\u3068\u306f\u306a\u304b\u3063\u305f\u3002 \u6700\u521d\u304b\u3089\u89e3\u3044\u3066\u3044\u3053\u3046\u3068\u601d\u3046\u3002 \u307e\u305a\u3001Python\u3067\u7d20\u76f4\u306b\u66f8\u304f\u3002\u3067\u304d\u308c\u3070\u6570\u5b66\u7684\u306b\u8003\u5bdf\u3057\u305f\u89e3\u3082\u66f8\u304f\u3002 Q1. 3\u304b5\u3067\u5272\u308a\u5207\u308c\u308b\u81ea\u7136\u6570\u30671000\u3088\u308a\u5c0f\u3055\u3044\u3082\u306e\u306e\u548c\u3002 a = filter(lambda x: x % 3 == 0 or x % 5 == 0, range(1000)) print reduce(lambda x, y: x + y, a)m\u306e\u500d\u6570\u3067n\u3088\u308a\u5c0f\u3055\u3044\u3082\u306e\u306e\u7dcf\u548c\u3092Sm,n\u3068\u66f8\u304f\u3068\u3001 p = [(n - 1) / m] Sm,n = m \u2026","author_url":"https://blog.hatena.ne.jp/inamori/","height":"190"}