{"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fjeneshicc.hatenadiary.org%2Fentry%2F20090105%2F1231163621\" title=\"Problem 168 - \u843d\u66f8\u304d\u3001\u6642\u3005\u843d\u5b66\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","url":"https://jeneshicc.hatenadiary.org/entry/20090105/1231163621","height":"190","type":"rich","provider_url":"https://hatena.blog","published":"2009-01-05 22:53:41","blog_url":"https://jeneshicc.hatenadiary.org/","author_url":"https://blog.hatena.ne.jp/jeneshicc/","provider_name":"Hatena Blog","image_url":null,"blog_title":"\u843d\u66f8\u304d\u3001\u6642\u3005\u843d\u5b66","author_name":"jeneshicc","version":"1.0","description":"http://projecteuler.net/index.php?section=problems&id=168 \u5148\u982d\u306e\u6570\u5b57\u3068\u7d04\u6570\u3092\u6c7a\u3081\u308b\u3068\u6b21\u3005\u3068\u5f8c\u306e\u6570\u5b57\u304c\u5206\u304b\u3063\u3066\u3044\u304f\u3002 \u3053\u308c\u3082\u307e\u305f\u3001\u5faa\u74b0\u3092\u5229\u7528\u3002 import Data.List expand d hd = (div hd d:).unfoldr f.snd.g $ hd where f x | x == hd = Nothing | otherwise = Just $ g x g x = let (q,r) = divMod x d in (q,q+10*r) p168 = foldl (\\a b -> (a+b) `mod` (10^\u2026","width":"100%","categories":["Project Euler","Haskell"],"title":"Problem 168"}