{"url":"https://inamori.hateblo.jp/entry/2024/10/10/181818","height":"190","blog_title":"inamori\u2019s diary","provider_url":"https://hatena.blog","categories":[],"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Finamori.hateblo.jp%2Fentry%2F2024%2F10%2F10%2F181818\" title=\"Mojo\u3067Project Euler 71 - 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>","author_url":"https://blog.hatena.ne.jp/inamori/","provider_name":"Hatena Blog","width":"100%","author_name":"inamori","type":"rich","version":"1.0","description":"https://projecteuler.net/problem=710/1\u30683/7\u306e\u9593\u30673/7\u5bc4\u308a\u3060\u3068(0+3x)/(1+7x)\u3068\u3059\u308c\u3070\u3088\u3044\u3067\u3059\u3002\u3053\u308c\u3067\u5206\u6bcd\u304c1000000\u4ee5\u4e0b\u306b\u306a\u308b\u3088\u3046\u306bx\u3092\u5b9a\u3081\u308c\u3070\u3088\u3044\u3067\u3059\u304c\u3001\u5206\u6bcd\u304c3\u3067\u5272\u308a\u5207\u308c\u308b\u306a\u3089\u3055\u3089\u306bx\u3092\u5927\u304d\u304f\u3067\u304d\u307e\u3059\u3002 Mojo\u3082Optional\u304c\u4f7f\u3048\u307e\u3059\u304c\u3001Tuple\u304cCollectionElement\u3092\u5b9f\u88c5\u3057\u3066\u3044\u306a\u3044\u304b\u3089\u3001 Optional[Tuple[Int, Int]] \u306f\u4f7f\u3048\u306a\u3044\u3067\u3059\u3002 import sys #################### library #################### fn gcd(m: Int, n\u2026","title":"Mojo\u3067Project Euler 71","blog_url":"https://inamori.hateblo.jp/","image_url":null,"published":"2024-10-10 18:18:18"}