{"author_name":"inamori","published":"2010-04-14 00:00:00","description":"http://projecteuler.net/index.php?section=problems&id=4 \u5168\u3066\u306e\u7d44\u5408\u305b\u306b\u5bfe\u3057\u3001\u56de\u6587\u6570\u3067\u3042\u308b\u304b\u3069\u3046\u304b\u5224\u5b9a\u3057\u3001\u56de\u6587\u6570\u306e\u4e2d\u3067\u6700\u5927\u306e\u3082\u306e\u3092\u6c42\u3081\u307e\u3059\u3002 \u56de\u6587\u6570\u306e\u5224\u5b9a\u306f\u3001\u5404\u6841\u306e\u6570\u5b57\u3054\u3068\u306e\u30ea\u30b9\u30c8\u306b\u3057\u3001\u305d\u308c\u3092\u9006\u306b\u3057\u3001\u6570\u306b\u623b\u3057\u3066\u5143\u306e\u6570\u3068\u540c\u3058\u304b\u8abf\u3079\u307e\u3059\u3002 \u307e\u305a\u3001\u6570\u5b57\u306e\u30ea\u30b9\u30c8\u306b\u3059\u308b\u306e\u306f\u518d\u5e30\u3067\u7c21\u5358\u306b\u66f8\u3051\u307e\u3059\u3002 let rec digits n = if n = 0 then [] else (digits (n / 10)) @ [n % 10]@\u306f\u30ea\u30b9\u30c8\u306e\u7d50\u5408\u3067\u3059\u3002 \u9006\u9806\u306b\u3059\u308b\u95a2\u6570\u306fList.rev\u3067\u3059\u3002 \u518d\u3073\u6570\u306b\u623b\u3059\u306e\u306f\u7d20\u76f4\u306bfold\u3067\u66f8\u304d\u307e\u3059\u3002 let to\u2026","height":"190","blog_title":"inamori\u2019s diary","url":"https://inamori.hateblo.jp/entry/20100414/p1","provider_name":"Hatena Blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Finamori.hateblo.jp%2Fentry%2F20100414%2Fp1\" title=\"Project Euler 4 - inamori\u2019s diary\" 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://inamori.hateblo.jp/","version":"1.0","title":"Project Euler 4","image_url":null,"width":"100%","type":"rich","categories":["F#"],"provider_url":"https://hatena.blog","author_url":"https://blog.hatena.ne.jp/inamori/"}