{"width":"100%","title":"Problem 175","author_url":"https://blog.hatena.ne.jp/jeneshicc/","published":"2009-01-15 19:58:23","version":"1.0","description":"http://projecteuler.net/index.php?section=problems&id=175 \u524d\u306b\u4f3c\u305f\u3088\u3046\u306a\u554f\u984c\u304c\u3042\u3063\u305f\u3002 \u7d50\u8ad6\u304b\u3089\u3044\u3046\u3068\u30e6\u30fc\u30af\u30ea\u30c3\u30c9\u306e\u4e92\u9664\u6cd5\u306e\u3088\u3046\u306a\u3082\u306e import Data.List step :: Integral a => (a,a) -> Maybe (a,(a,a)) step (p,q) | q == 0 = Nothing | p <= q = let (n,q') = divMod q p in Just (n,(p,q')) | otherwise = let (n,p') = divMod p q in if p' == 0 the\u2026","provider_url":"https://hatena.blog","height":"190","blog_title":"\u843d\u66f8\u304d\u3001\u6642\u3005\u843d\u5b66","blog_url":"https://jeneshicc.hatenadiary.org/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fjeneshicc.hatenadiary.org%2Fentry%2F20090115%2F1232017103\" title=\"Problem 175 - \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>","author_name":"jeneshicc","url":"https://jeneshicc.hatenadiary.org/entry/20090115/1232017103","type":"rich","categories":["Project Euler","Haskell"],"provider_name":"Hatena Blog","image_url":null}