{"blog_url":"https://drken1215.hatenablog.com/","url":"https://drken1215.hatenablog.com/entry/2022/12/23/223700","type":"rich","width":"100%","image_url":"https://cdn-ak.f.st-hatena.com/images/fotolife/d/drken1215/20221223/20221223224219.png","categories":["AtCoder","AtCoder400\u70b9","ABC-D","\u7dd1\u8272diff","\u9023\u7d50\u6210\u5206","Union-Find","\u9023\u7d50\u6210\u5206\u3054\u3068\u306b\u5206\u89e3\u3057\u3066\u8003\u3048\u308b","\u30c7\u30fc\u30bf\u69cb\u9020","\u30b0\u30e9\u30d5","DFS","BFS","\u4e8c\u90e8\u30b0\u30e9\u30d5","\u4e8c\u90e8\u30b0\u30e9\u30d5\u5224\u5b9a","\u7dcf\u548c\u3092\u6c42\u3081\u308b","\u89e3\u7a7a\u9593:O(N^2)\u901a\u308a\u306e\u9078\u629e\u80a2","\u30b3\u30fc\u30ca\u30fc\u30b1\u30fc\u30b9","\u8003\u5bdf\uff1a\u5834\u5408\u5206\u3051\u3057\u3066\u8003\u3048\u308b","Greedy\uff1a\u5148\u306b\u9032\u3080\u307b\u3069\u65b0\u305f\u306a\u9078\u629e\u80a2\u304c\u633f\u5165\u3055\u308c\u308b","Greedy","\u8003\u5bdf\uff1a\u88dc\u96c6\u5408\u3092\u8003\u3048\u308b","\u3010\u554f\u984c\u96c6\u3011DFS\u30fbBFS\u306e\u30b9\u30c6\u30c3\u30d7\u30a2\u30c3\u30d7","\u5178\u578b\u8981\u7d20\u3092\u8a70\u3081\u5408\u308f\u305b\u305f\u6559\u80b2\u7684\u554f\u984c","\u30b0\u30e9\u30d5\u63a2\u7d22:\u9802\u70b9\u306e\u5024\u3092\u6c42\u3081\u3066\u3044\u304f","NoviSteps1Q"],"published":"2022-12-23 22:37:00","author_url":"https://blog.hatena.ne.jp/drken1215/","title":"AtCoder ABC 282 D - Make Bipartite 2 (1Q, \u7dd1\u8272, 400 \u70b9)","blog_title":"\u3051\u3093\u3061\u3087\u3093\u306e\u7af6\u30d7\u30ed\u7cbe\u9032\u8a18\u9332","provider_url":"https://hatena.blog","height":"190","provider_name":"Hatena Blog","description":"\u4e00\u822c\u306b\u30b0\u30e9\u30d5\u306e\u554f\u984c\u3092\u89e3\u304f\u3068\u304d\u306f\u300c\u9023\u7d50\u6210\u5206\u3054\u3068\u306b\u89e3\u3051\u3070\u826f\u3044\u306e\u3067\u306f\u306a\u3044\u304b\u300d\u3068\u8003\u3048\u308b\u306e\u304c\u6709\u52b9\u306a\u3053\u3068\u304c\u3042\u308b\uff01 \u305d\u306e\u610f\u8b58\u304c\u3057\u3063\u304b\u308a\u3057\u3066\u3044\u308c\u3070\u3001\u300c\u30b0\u30e9\u30d5\u304c\u975e\u9023\u7d50\u306e\u5834\u5408\u306b\u6c17\u3065\u304b\u306a\u304b\u3063\u305f\u300d\u3068\u3044\u3046\u7f60\u3092\u56de\u907f\u3067\u304d\u308b\uff01\uff01 \u554f\u984c\u3078\u306e\u30ea\u30f3\u30af \u554f\u984c\u6982\u8981 \u9802\u70b9\u6570 \u3001\u8fba\u6570 \u306e\u5358\u7d14\u306a\u7121\u5411\u30b0\u30e9\u30d5\u304c\u4e0e\u3048\u3089\u308c\u307e\u3059\u3002\u9802\u70b9\u756a\u53f7\u3092 \u3068\u3057\u307e\u3059\u3002 \u3053\u306e\u30b0\u30e9\u30d5\u306b\u304a\u3044\u3066\u3001\u4ee5\u4e0b\u306e\u6761\u4ef6\u3092\u6e80\u305f\u3059\u9802\u70b9\u306e\u7d44 () \u306e\u500b\u6570\u3092\u7b54\u3048\u3066\u304f\u3060\u3055\u3044\u3002 \u9802\u70b9 \u3092\u7d50\u3076\u8fba\u304c\u5b58\u5728\u3057\u306a\u3044 \u9802\u70b9 \u3092\u7d50\u3076\u8fba\u3092\u8ffd\u52a0\u3057\u305f\u30b0\u30e9\u30d5\u306f\u4e8c\u90e8\u30b0\u30e9\u30d5\u3067\u3042\u308b \u5236\u7d04 \u8003\u3048\u305f\u3053\u3068 \u4e8c\u90e8\u30b0\u30e9\u30d5\u3068\u306f\u3001\u4e0b\u56f3\u306e\u3088\u3046\u306b\u3001 \u767d\u8272\u306e\u9802\u70b9\u540c\u58eb\u304c\u96a3\u63a5\u3057\u306a\u3044 \u9ed2\u8272\u306e\u9802\u70b9\u540c\u58eb\u304c\u96a3\u63a5\u3057\u306a\u3044 \u3068\u3044\u3046\u6761\u4ef6\u3092\u6e80\u305f\u3059\u3088\u3046\u306b\u3001\u5404\u9802\u70b9\u3092\u767d\u9ed2\u2026","version":"1.0","author_name":"drken1215","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdrken1215.hatenablog.com%2Fentry%2F2022%2F12%2F23%2F223700\" title=\"AtCoder ABC 282 D - Make Bipartite 2 (1Q, \u7dd1\u8272, 400 \u70b9) - \u3051\u3093\u3061\u3087\u3093\u306e\u7af6\u30d7\u30ed\u7cbe\u9032\u8a18\u9332\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>"}