{"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Finamori.hateblo.jp%2Fentry%2F20100424%2Fp1\" title=\"Project Euler 15 - 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_title":"inamori\u2019s diary","type":"rich","published":"2010-04-24 00:00:01","provider_name":"Hatena Blog","description":"http://projecteuler.net/index.php?section=problems&id=15 \u3053\u306e\u554f\u984c\u306fcombination\u3092\u8a08\u7b97\u3059\u308b\u3060\u3051\u3067\u3059\u3002 let rec C n m = if m = 0 then 1L else (C n (m - 1)) * (int64 (n - m + 1)) / (int64 m) printfn \"%d\" (C 40 20)32\u30d3\u30c3\u30c8\u3067\u53ce\u307e\u3089\u306a\u3044\u306e\u3067\u5fc5\u8981\u306a\u90e8\u5206\u306bL\u3092\u4ed8\u3051\u305f\u308a\u578b\u5909\u63db\u3057\u306a\u3051\u308c\u3070\u306a\u308a\u307e\u305b\u3093\u3002int\u4ee5\u5916\u30b5\u30d5\u30a3\u30c3\u30af\u30b9\u3092\u4ed8\u3051\u308b\u3068\u3044\u3046\u3084\u308a\u65b9\u306f\u3042\u307e\u308a\u3044\u3044\u30a2\u30a4\u30c7\u30a3\u30a2\u3067\u306f\u306a\u304b\u3063\u305f\u3088\u3046\u306b\u601d\u3048\u307e\u3059\u3002 \u3053\u308c\u3060\u3051\u3067\u306f\u9762\u767d\u304f\u306a\u3044\u306e\u3067\u3001\u5404\u683c\u5b50\u70b9\u3078\u306e\u7d4c\u8def\u2026","width":"100%","author_url":"https://blog.hatena.ne.jp/inamori/","version":"1.0","author_name":"inamori","title":"Project Euler 15","provider_url":"https://hatena.blog","categories":["F#"],"height":"190","url":"https://inamori.hateblo.jp/entry/20100424/p1","image_url":null,"blog_url":"https://inamori.hateblo.jp/"}