{"published":"2019-03-03 23:18:05","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwotsushi.hatenablog.com%2Fentry%2F2019%2F03%2F03%2F231805\" title=\"ABC120 \u53c2\u52a0\u30e1\u30e2 - 024\u53f7\u6587\u66f8\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","blog_url":"https://wotsushi.hatenablog.com/","provider_name":"Hatena Blog","width":"100%","author_name":"wotsushi","author_url":"https://blog.hatena.ne.jp/wotsushi/","height":"190","image_url":"https://cdn-ak.f.st-hatena.com/images/fotolife/w/wotsushi/20190303/20190303231659.png","type":"rich","blog_title":"024\u53f7\u6587\u66f8","url":"https://wotsushi.hatenablog.com/entry/2019/03/03/231805","provider_url":"https://hatena.blog","version":"1.0","categories":[],"title":"ABC120 \u53c2\u52a0\u30e1\u30e2","description":"https://atcoder.jp/contests/abc120 35\u5206\u3067\u5168\u5b8c\u3067\u304d\u307e\u3057\u305f\uff01 3237\u4eba\u4e2d203\u4f4d\u3067\u3057\u305f\u3002 rating 980->1121(+141). \u6b21\u56de\u306f\u6c34\u8272\u3044\u3051\u308b\u304b\u306a\uff1f A min(C, A // B) \u3092\u51fa\u529b\u3059\u308b\u3060\u3051\u3067\u3059\u3002 B A, B<=100\u306a\u306e\u3067\u5185\u5305\u8868\u8a18\u3067\u30b4\u30ea\u62bc\u3057\u3067\u304d\u307e\u3059\u3002 [i for i in range(1, 100 + 1) if A % i == 0 and B % i == 0][-K] \u304c\u89e3\u3067\u3059\u3002 \u5927\u304d\u3044\u65b9\u304b\u3089K\u756a\u76ee\u3067\u3042\u308b\u3053\u3068\u306b\u6ce8\u610f\u3057\u307e\u3057\u3087\u3046\u3002 Python\u306e\u30ea\u30b9\u30c8\u306b\u5bfe\u3057\u3066[-i]\u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b\u3068\u5f8c\u308d\u304b\u3089i\u756a\u76ee\u306e\u8981\u7d20\u3092\u5f97\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002 C \u2026"}