{"type":"rich","url":"https://mmxsrup.hatenablog.com/entry/2017/03/04/130923","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmmxsrup.hatenablog.com%2Fentry%2F2017%2F03%2F04%2F130923\" title=\"Codeforece 400 (Div. 1 + Div. 2, combined) A. A Serial Killer - srup\u306e\u30e1\u30e2\u5e33\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","height":"190","image_url":null,"version":"1.0","author_url":"https://blog.hatena.ne.jp/mmxsrup/","width":"100%","published":"2017-03-04 13:09:23","title":"Codeforece 400 (Div. 1 + Div. 2, combined) A. A Serial Killer","blog_url":"https://mmxsrup.hatenablog.com/","blog_title":"srup\u306e\u30e1\u30e2\u5e33","categories":["Codeforces"],"description":"\u554f\u984c \u554f\u984c\u6982\u8981 \u6587\u5b57\u5217\u304c2\u3064\u4e0e\u3048\u3089\u308c\u308b. \u3072\u3068\u3064\u306e\u6587\u5b57\u5217\u3092\u6307\u5b9a\u3055\u308c\u305f\u6587\u5b57\u5217\u306b\u7f6e\u63db\u3059\u308b\u64cd\u4f5c\u3092\u884c\u3046\u30af\u30a8\u30ea\u306b\u5fdc\u3048\u308b. \u89e3\u6cd5 set\u3067\u7ba1\u7406\u3057\u306a\u304c\u3089, \u7f6e\u63db\u3055\u308c\u308b\u65b9\u3092erase\u3057\u3066, \u52a0\u3048\u308b\u65b9\u3092insert\u3057\u3066\u3044\u3051\u3070\u3044\u3044. \u30df\u30b9 \u306a\u3057. \u30b3\u30fc\u30c9 #include <bits/stdc++.h> using namespace std; typedef long long ll; typedef vector<int> vint; typedef pair<int,int> pint; typedef vector<pint> vpint; #define rep(i,n) for(int i=0;i<(\u2026","provider_url":"https://hatena.blog","author_name":"mmxsrup","provider_name":"Hatena Blog"}