{"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fprivate-yusuke.hatenadiary.jp%2Fentry%2F2018%2F06%2F03%2F123728\" title=\"AtCoder Beginner Contest 098\u306e\u89e3\u8aac - private-yusuke\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>","image_url":"https://chart.apis.google.com/chart?cht=tx&chl=%20A%5C%3BB%5Cquad%28A%2CB%20%5Cin%20%5Cmathbb%7BZ%7D%3B%5C%2C%20-1000%20%5Cle%20A%2C%20B%20%5Cle%201000%29","categories":[],"provider_url":"https://hatena.blog","published":"2018-06-03 12:37:28","blog_title":"private-yusuke\u2019s diary","provider_name":"Hatena Blog","width":"100%","author_url":"https://blog.hatena.ne.jp/private_yusuke/","author_name":"private_yusuke","title":"AtCoder Beginner Contest 098\u306e\u89e3\u8aac","blog_url":"https://private-yusuke.hatenadiary.jp/","description":"A - Add Sub Mul \u5165\u529b: \u51fa\u529b: , , \u306e\u4e2d\u3067\u6700\u5927\u306e\u5024 writeln(max(A+B, A-B, A*B)); \u611f\u60f3: \u306f\u3044 B - Cut and Count \u5165\u529b: \u51fa\u529b: S\u3092\u4e00\u7b87\u6240\u3067\u5207\u65ad\u3057\u3066\u3067\u304d\u305f\uff12\u3064\u306e\u6587\u5b57\u5217\u306e\u3069\u3061\u3089\u306b\u3082\u542b\u307e\u308c\u3066\u3044\u308b\u6587\u5b57\u306e\u7a2e\u985e\u6570\u306e\u6700\u5927\u5024\u300c\u3069\u3061\u3089\u306b\u3082\u542b\u307e\u308c\u3066\u3044\u308b\u300d -> \"setIntersection\" ulong res; foreach(i; 0..N) { auto X = S.dup; // sort()\u304c\u4f5c\u7528\u3057\u3066\u3057\u307e\u3046\u306e\u3067\u30b3\u30d4\u30fc\u3059\u308b auto a = X[0..i].sort().uniq.array; // \u90e8\u5206\u5217\u306b\u542b\u307e\u308c\u308b\u6587\u5b57\u3092\u53d6\u5f97 au\u2026","type":"rich","version":"1.0","height":"190","url":"https://private-yusuke.hatenadiary.jp/entry/2018/06/03/123728"}