{"version":"1.0","blog_title":"\u30b7\u30ca\u30d7\u30b9\u306e\u679c\u3066","url":"https://tota66.hatenablog.com/entry/2019/04/27/235849","title":"ABC125","author_name":"tota66","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftota66.hatenablog.com%2Fentry%2F2019%2F04%2F27%2F235849\" title=\"ABC125 - \u30b7\u30ca\u30d7\u30b9\u306e\u679c\u3066\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","type":"rich","description":"atcoder.jp ABD\u306e3\u5b8c\u3002D\u304c\u7c21\u5358\u3060\u3063\u305f\u307f\u305f\u3044\u3067\u3059\u3050\u3067\u304d\u305f\u3093\u3067\u3059\u304c\u3001C\u3067TLE\u304b\u3089\u9003\u308c\u3089\u308c\u305a\u3002\u3002C\u306f\u3001\u6570\u3092\u66f8\u304d\u76f4\u305b\u308b\u3068\u306f\u6570\u3092\u6d88\u3059\u3068\u540c\u3058\u3001\u3068\u3044\u3046\u3068\u3053\u308d\u307e\u3067\u306f\u308f\u304b\u3063\u3066\u3001\u3042\u3068\u306f\u6b8b\u308a\u306e\u6570\u306egcd(\u6700\u5927\u516c\u7d04\u6570)\u3092\u3069\u3046\u65e9\u304f\u89e3\u304f\u304b\u306a\u3093\u3067\u3059\u304c\u3001\u3053\u308c\u3082\u7d2f\u7a4d\u548c\u3068\u540c\u3058\u3088\u3046\u306a\u611f\u3058\u3067\u4e88\u3081\u6c42\u3081\u3066\u304a\u3051\u308b\u3093\u3067\u3059\u306d\u301c \u6d88\u3059\u6570\u3092A[i]\u3068\u3057\u305f\u6642\u3001\u305d\u306e\u5de6\u5074\u306egcd\u3092L[i]\u3001\u53f3\u5074\u306egcd\u3092R[i+1]\u3068\u3057\u3066\u3001 N = int(input()) A = list(map(int, input().split())) def gcd(a, b): if a < b: a, b = b, a if b == 0: return\u2026","provider_name":"Hatena Blog","width":"100%","image_url":null,"height":"190","blog_url":"https://tota66.hatenablog.com/","author_url":"https://blog.hatena.ne.jp/tota66/","published":"2019-04-27 23:58:49","categories":["Python"],"provider_url":"https://hatena.blog"}