{"provider_name":"Hatena Blog","published":"2009-06-25 00:01:51","description":"Problem 20 - \u6bdb\u306e\u306f\u3048\u305f\u3088\u3046\u306a\u3082\u306e Problem 25 - \u6bdb\u306e\u306f\u3048\u305f\u3088\u3046\u306a\u3082\u306e \u3092\u307f\u3066\u3001\u66f8\u304d\u305f\u3044\u30b3\u30fc\u30c9\u304c\u3042\u307e\u308a\u306b\u3082\u9055\u3063\u3066\u9762\u767d\u304b\u3063\u305f\u306e\u3067\u3002 Project Euler \u306f\u534a\u5206\u5f31 Haskell \u3067\u89e3\u3044\u305f\u3053\u3068\u3082\u3042\u308a\u601d\u3044\u3064\u304f\u30a2\u30eb\u30b4\u30ea\u30ba\u30e0\u304b\u3089 Haskell \u306e\u9999\u308a\u304c\u6f02\u3046\u3002 100! \u306e\u5404\u6841\u306e\u6570\u5b57\u306e\u548c\u3092\u6c42\u3081\u3088\u3002 #project euler 20 p (1..100).to_a.inject(1){|a,b|a*b}.to_s.scan(/[0-9]/).map{|a|a.to_i}.inject(0){|a,b|a+b} \u3053\u308c\u306f\u3069\u3046\u8003\u3048\u3066\u3082 main = putStrLn $ sho\u2026","categories":["haskell","ruby"],"version":"1.0","blog_url":"https://nuc.hatenadiary.org/","url":"https://nuc.hatenadiary.org/entry/20090625/p111","provider_url":"https://hatena.blog","image_url":null,"type":"rich","author_url":"https://blog.hatena.ne.jp/nuc/","width":"100%","title":"\u30af\u30ec\u30aa\u30fc\u30eb","blog_title":"\u767d\u306e\u30ab\u30d4\u30d0\u30e9\u306e\u9006\u6975\u9650 S.144-3","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fnuc.hatenadiary.org%2Fentry%2F20090625%2Fp111\" title=\"\u30af\u30ec\u30aa\u30fc\u30eb - \u767d\u306e\u30ab\u30d4\u30d0\u30e9\u306e\u9006\u6975\u9650 S.144-3\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","height":"190","author_name":"nuc"}