{"provider_url":"https://hatena.blog","author_name":"wotsushi","published":"2019-03-17 00:34:01","width":"100%","image_url":"https://cdn-ak.f.st-hatena.com/images/fotolife/w/wotsushi/20190317/20190317003116.png","url":"https://wotsushi.hatenablog.com/entry/2019/03/17/003401","author_url":"https://blog.hatena.ne.jp/wotsushi/","version":"1.0","categories":["AGC"],"description":"https://atcoder.jp/contests/agc031 ABC\u5352\u696d\u3057\u3066\u9593\u3082\u306a\u304f\u53c2\u52a0\u3059\u308b\u304b\u8ff7\u3044\u307e\u3057\u305f\u304c\u3001\u76f8\u6027\u306e\u3088\u3044\u554f\u984c\u304c\u591a\u304b\u3063\u305f\u304b\u3089\u304b\u9ec4\u30d1\u30d5\u30a9\u51fa\u305b\u307e\u3057\u305f\uff01 A \u554f\u984c\u6587\u304c\u96e3\u3057\u304b\u3063\u305f\u3067\u3059\u3002 \uff08\uff08\u5404\u30a2\u30eb\u30d5\u30a1\u30d9\u30c3\u30c8\u306e\u500b\u6570+1\uff09\u306e\u7dcf\u7a4d\uff09 - 1 \u304c\u89e3\u3067\u3059\u306d\u3002 B \u77f3\u30922\u56de\u4ee5\u4e0a\u5857\u308a\u66ff\u3048\u3066\u3082\u610f\u5473\u306a\u3044\u3053\u3068\u3092\u5229\u7528\u3057\u3066\u3001\u6570\u5217C\u304b\u3089\u4ee5\u4e0b\u306e\u30b0\u30e9\u30d5\u3092\u4f5c\u6210\u3057\u307e\u3057\u305f\u3002 \u9802\u70b9: 1, 2, ..., N \u8fba: 1->2->3->...->N i->j where i < j, C_i = C_j, C_k = C_i \u306a\u308b i < k < j \u306f\u5b58\u5728\u3057\u306a\u3044 \u3042\u3068\u306f\u3001\u9802\u70b91\u304b\u3089N\u307e\u3067\u306e\u7d4c\u8def\u6570\u3092\u30ab\u30a6\u30f3\u30c8\u3059\u308b\u3060\u3051\u3067\u3059\u3002\u2026","blog_url":"https://wotsushi.hatenablog.com/","type":"rich","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwotsushi.hatenablog.com%2Fentry%2F2019%2F03%2F17%2F003401\" title=\"AGC031 \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_title":"024\u53f7\u6587\u66f8","title":"AGC031 \u53c2\u52a0\u30e1\u30e2","height":"190","provider_name":"Hatena Blog"}