{"author_name":"jeneshicc","blog_title":"\u843d\u66f8\u304d\u3001\u6642\u3005\u843d\u5b66","author_url":"https://blog.hatena.ne.jp/jeneshicc/","width":"100%","title":"Problem 171","provider_name":"Hatena Blog","description":"http://projecteuler.net/index.php?section=problems&id=171 \u6570\u5b57\u306e\u51fa\u3066\u304f\u308b\u9806\u756a\u306f\u672c\u8cea\u7684\u3067\u306f\u306a\u3044\u3002 \u5e73\u65b9\u6570\u30921^2,2^2,3^2,..9^2\u3092\u4f7f\u3063\u3066\u5206\u5272\u3002 \u305d\u306e\u5206\u5272\u304b\u3089\u3067\u304d\u308b\u6570\u5b57\u306e\u548c\u3092\u8003\u3048\u308b\uff08permutations\uff09\u3002 \u7dcf\u548c\u3092\u3068\u308b\u3002 digit :: Int digit = 20 partitionToSquares :: Int -> [[Int]] partitionToSquares = ptds [] 9 digit where ptds ds d l 0 = [l:replicate d 0 ++ ds] ptds ds d \u2026","provider_url":"https://hatena.blog","categories":["Project Euler","Haskell"],"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fjeneshicc.hatenadiary.org%2Fentry%2F20090112%2F1231765940\" title=\"Problem 171 - \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>","blog_url":"https://jeneshicc.hatenadiary.org/","published":"2009-01-12 22:12:20","version":"1.0","type":"rich","image_url":null,"height":"190","url":"https://jeneshicc.hatenadiary.org/entry/20090112/1231765940"}