{"title":"Problem34","author_name":"mzp","version":"1.0","provider_name":"Hatena Blog","blog_title":"\u307f\u305a\u3074\u30fc\u65e5\u8a18","height":"190","image_url":null,"blog_url":"https://mzp.hatenadiary.org/","url":"https://mzp.hatenadiary.org/entry/20080518/euler","type":"rich","width":"100%","categories":["Perl","30\u5206\u30d7\u30ed\u30b0\u30e9\u30e0"],"published":"2008-05-18 00:00:01","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmzp.hatenadiary.org%2Fentry%2F20080518%2Feuler\" title=\"Problem34 - \u307f\u305a\u3074\u30fc\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>","author_url":"https://blog.hatena.ne.jp/mzp/","description":"30\u5206\u30d7\u30ed\u30b0\u30e9\u30e0\u3001\u305d\u306e307\u3002Problem34 - Project Euler\u3002 145\u306f\u9762\u767d\u3044\u6570\u3067\u3042\u308b. 1! + 4! + 5! = 1 + 24 + 120 = 145\u3068\u306a\u308b. \u5404\u6841\u306e\u6570\u306e\u968e\u4e57\u306e\u548c\u304c\u81ea\u5206\u81ea\u8eab\u3068\u4e00\u81f4\u3059\u308b\u3088\u3046\u306a\u6570\u306e\u7dcf\u548c\u3092\u6c42\u3081\u3088. \u6ce8: 1! = 1 \u3068 2! = 2 \u306f\u7dcf\u548c\u306b\u542b\u3081\u3066\u306f\u306a\u3089\u306a\u3044. \u306a\u3093\u304b\u3001\u524d\u3005\u56de\u3050\u3089\u3044\u3068\u4f3c\u3066\u308b\u306a\u3041\u3002 \u3056\u3063\u3068\u6982\u7b97\u3057\u3066\u307f\u305f\u3068\u3053\u308d\u30017\u6841\u307e\u3067\u63a2\u7d22\u3059\u308b\u5fc5\u8981\u304c\u3042\u3063\u305f\u3051\u308c\u3069\u3082\u3001\u306a\u305c\u304b5\u6841\u3067\u5341\u5206\u3060\u3063\u305f\u3002\u307e\u3042\u3001\u89e3\u3051\u305f\u304b\u3089\u3044\u3044\u3084\u3002 \u4f7f\u3044\u65b9 $ time perl problem34.pl 145 40585 Answer: 40730 perl problem34\u2026","provider_url":"https://hatena.blog"}