{"version":"1.0","description":"http://projecteuler.net/index.php?section=problems&id=164 \u3053\u308c\u306f\u7c21\u5358\u3002\u8868\u3092\u57cb\u3081\u308b\u3060\u3051\u306e\u7c21\u5358\u306a\u304a\u4ed5\u4e8b\u3002 import Data.Array m = 20 f = listArray ((1,0,0),(m,9,9)).map g.range $ ((1,0,0),(m,9,9)) where g (1,a,b) = 10 - (a+b) g (n+1,a,b) = sum[f!(n,b,c)| c <- [0..9-(a+b)]] main = print.sum$[f!(m-2,a,b)| a<-[1..9], b<-[0..9]]","author_url":"https://blog.hatena.ne.jp/jeneshicc/","image_url":null,"title":"Problem 164","provider_url":"https://hatena.blog","blog_url":"https://jeneshicc.hatenadiary.org/","provider_name":"Hatena Blog","type":"rich","width":"100%","height":"190","categories":["Project Euler","Haskell"],"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fjeneshicc.hatenadiary.org%2Fentry%2F20081231%2F1230707649\" title=\"Problem 164 - \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","published":"2008-12-31 16:14:09","blog_title":"\u843d\u66f8\u304d\u3001\u6642\u3005\u843d\u5b66","url":"https://jeneshicc.hatenadiary.org/entry/20081231/1230707649"}