{"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fjeneshicc.hatenadiary.org%2Fentry%2F20090118%2F1232284090\" title=\"Problem 180 - \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>","provider_url":"https://hatena.blog","published":"2009-01-18 22:08:10","provider_name":"Hatena Blog","width":"100%","categories":["Project Euler","Haskell"],"version":"1.0","type":"rich","height":"190","author_name":"jeneshicc","url":"https://jeneshicc.hatenadiary.org/entry/20090118/1232284090","title":"Problem 180","blog_title":"\u843d\u66f8\u304d\u3001\u6642\u3005\u843d\u5b66","image_url":null,"description":"http://projecteuler.net/index.php?section=problems&id=180 \u5f0f\u5909\u5f62\u3059\u308b\u3002\u306f\u3058\u3081\u306fn\u306e\u7bc4\u56f2\u304c\u6709\u754c\u3067\u306a\u304f\u3066\u3001\u6238\u60d1\u3063\u305f\u304c\u3001\u30d5\u30a7\u30eb\u30de\u30fc\u306e\u5b9a\u7406\u3060\u3063\u305f\u3002 import Control.Monad (guard,liftM) import Data.Ratio (denominator,numerator,(%)) import Data.Set (fromList,fold) getZ :: Int -> Rational -> Rational -> Maybe Rational getZ 2 x y = sqrt' $ x^2+y^2 getZ \u2026","author_url":"https://blog.hatena.ne.jp/jeneshicc/","blog_url":"https://jeneshicc.hatenadiary.org/"}