{"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Finamori.hateblo.jp%2Fentry%2F2024%2F07%2F11%2F193957\" title=\"Mojo\u3067Project Euler 40 - 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>","description":"https://projecteuler.net/problem=40n\u304c\u4f55\u6841\u306e\u3068\u3053\u308d\u306b\u3042\u308b\u304b\u5206\u304b\u308c\u3070\u304b\u3093\u305f\u3093\u3067\u3059\u306d\u3002 import sys #################### library #################### fn digits(owned n: Int) -> List[Int]: var ds = List[Int]() while n > 0: var d = n % 10 n //= 10 ds.append(d) return ds #################### process #################### fn d(n: In\u2026","blog_title":"inamori\u2019s diary","height":"190","version":"1.0","published":"2024-07-11 19:39:57","author_url":"https://blog.hatena.ne.jp/inamori/","type":"rich","provider_name":"Hatena Blog","title":"Mojo\u3067Project Euler 40","image_url":null,"categories":[],"width":"100%","url":"https://inamori.hateblo.jp/entry/2024/07/11/193957","blog_url":"https://inamori.hateblo.jp/","provider_url":"https://hatena.blog","author_name":"inamori"}