{"version":"1.0","type":"rich","provider_url":"https://hatena.blog","blog_title":"\u843d\u66f8\u304d\u3001\u6642\u3005\u843d\u5b66","title":"Problem 166","published":"2009-01-04 14:59:04","width":"100%","author_url":"https://blog.hatena.ne.jp/jeneshicc/","categories":["Project Euler","Haskell"],"url":"https://jeneshicc.hatenadiary.org/entry/20090104/1231048744","height":"190","description":"http://projecteuler.net/index.php?section=problems&id=166\u9b54\u65b9\u9663\u306e\u3088\u3046\u306a\u554f\u984c(\u540c\u3058\u6570\u5b57\u304c\u4f55\u5ea6\u51fa\u3066\u3082\u304b\u307e\u308f\u306a\u3044\uff09 brute force \u3067\u3082\u3067\u304d\u308b\u304c\u3001\u305d\u308c\u3067\u306f\u9762\u767d\u304f\u306a\u3044\u3002 \u3068\u308a\u3042\u3048\u305a\u3001\u6570\u5b57\u3092mod 2 \u3057\u3066\u8003\u3048\u308b\u3068\u81ea\u660e\u89e3\u306e\u307b\u304b\u306b 1 0 0 0 0 0 1 0 0 0 0 1 0 1 0 0 \u304c\u5b58\u5728\u3059\u308b\u3053\u3068\u304c\u5206\u304b\u308b\u3002 \u4e0a\u3084\u3001\u4e0a\u306e\u56de\u8ee2\u306a\u3069\u3057\u305f\u3082\u306e\u3092\u89e3\u304b\u3089\u5f15\u3044\u3066\u3082\u3001\u307e\u3060\u5404\u548c\u306f\u7b49\u3057\u3044\u3002 main = print.sum.map (product.map count) $ genGrid count xs | u < l = 0 | otherw\u2026","image_url":null,"blog_url":"https://jeneshicc.hatenadiary.org/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fjeneshicc.hatenadiary.org%2Fentry%2F20090104%2F1231048744\" title=\"Problem 166 - \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","provider_name":"Hatena Blog"}