{"provider_name":"Hatena Blog","width":"100%","type":"rich","provider_url":"https://hatena.blog","author_url":"https://blog.hatena.ne.jp/inamori/","published":"2019-07-30 08:37:10","title":"Julia\u3067Project Euler(17)","author_name":"inamori","description":"Problem 17 https://projecteuler.net/problem=17\u4f55\u5ea6\u3082\u89e3\u3044\u3066\u3044\u308b\u304c\u3001\u4e00\u5ea6\u3082\u6700\u521d\u3067\u6b63\u3057\u3044\u7b54\u3048\u3092\u51fa\u3057\u305f\u8a18\u61b6\u304c\u306a\u3044\u3002 \u3067\u304d\u308b\u3060\u3051\u518d\u5e30\u3092\u4f7f\u3046\u3002 function e017(N) function num_length(n) if haskey(num_letters, n) && n < 100 return length(num_letters[n]) elseif n < 100 d = n%10 return num_length(n-d) + num_length(d) elseif n < 1000 d = div(n, 100) r = n%10\u2026","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Finamori.hateblo.jp%2Fentry%2F2019%2F07%2F30%2F083710\" title=\"Julia\u3067Project Euler(17) - 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","height":"190","url":"https://inamori.hateblo.jp/entry/2019/07/30/083710","version":"1.0","image_url":null,"blog_url":"https://inamori.hateblo.jp/","categories":["Julia"]}