{"published":"2023-12-23 08:13:02","title":"Mojo\u3067Project Euler 8","blog_title":"inamori\u2019s diary","description":"https://projecteuler.net/problem=8\u6bce\u56de13\u500b\u306e\u6570\u5b57\u3092\u639b\u3051\u7b97\u3059\u308c\u3070\u3088\u3044\u3067\u3059\u304c\u3001\u3082\u3046\u5c11\u3057\u9811\u5f35\u308c\u3070\u8a08\u7b97\u91cf\u3092\u6e1b\u3089\u305b\u307e\u3059\u30020\u304c13\u500b\u306e\u9593\u306b\u4f55\u500b\u3042\u308b\u306e\u304b\u3068\u6700\u5f8c\u306e0\u306e\u3042\u3068\u7a4d\u3092\u8a18\u61b6\u3057\u3066\u304a\u3051\u3070\u3088\u3044\u3067\u3059\u3002 # e008.mojo import sys struct ProductGenerator: var L: Int var ds: DynamicVector[Int] var num_zeros: Int var product: Int var i: Int fn __init__(inout self, L: Int, ds: DynamicVector[Int], n\u2026","provider_name":"Hatena Blog","height":"190","type":"rich","url":"https://inamori.hateblo.jp/entry/2023/12/23/081302","categories":[],"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Finamori.hateblo.jp%2Fentry%2F2023%2F12%2F23%2F081302\" title=\"Mojo\u3067Project Euler 8 - 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>","width":"100%","author_url":"https://blog.hatena.ne.jp/inamori/","version":"1.0","blog_url":"https://inamori.hateblo.jp/","image_url":null,"provider_url":"https://hatena.blog","author_name":"inamori"}