{"published":"2017-08-02 15:17:10","version":"1.0","author_url":"https://blog.hatena.ne.jp/sei0okun/","title":"ARC 027 B: \u5927\u4e8b\u306a\u6570\u306a\u306e\u3067Z\u56de\u66f8\u304d\u307eL\u305f\u3002(Union-Find)","type":"rich","author_name":"sei0okun","provider_url":"https://hatena.blog","description":"\u89e3\u8aac\u898b\u305a\u306bUnion-Find\u306e\u554f\u984c\u3068\u3051\u305f\u306e\u521d\u3081\u3066\u3067\u3046\u308c\u3057\u3044\u301c\u301c\u301c \u4ed6\u306e\u554f\u984c\u3082\u3082\u3046\u3061\u3087\u3063\u3068\u7c98\u308b\u3088\u3046\u306b\u3057\u3088\u3046\u3002 \u8a2a\u554f\u6e08\u307f(\u3053\u306e\u554f\u984c\u3060\u3068\"\u8a08\u7b97\u6e08\u307f\"\uff1f)\u306e\u30b0\u30eb\u30fc\u30d7\u3092visited\u3067\u7ba1\u7406\u3059\u308b\u3068\u304d\u306b\u8aa4\u3063\u3066\u6587\u5b57\u305d\u306e\u3082\u306e(\u30b0\u30eb\u30fc\u30d7\u306e\u8981\u7d20)\u3092\u5165\u308c\u3066\u3057\u307e\u3044\u30012WA\u3002 7 AABCDEF ABCDEFG \u306e\u3088\u3046\u306a\u3068\u304d\u306b\u8aa4\u3063\u305f\u7b54\u3048\u3092\u51fa\u3057\u3066\u3057\u307e\u3046\u3002 #include <iostream> #include <queue> #include <vector> #include <cmath> #include <algorithm> #include <map> using namespace std; using \u2026","blog_url":"https://sei0o.hateblo.jp/","blog_title":"\u66f4\u65b0\u65e5\u6642\u3067\u5dee\u3092\u3064\u3051\u308d","categories":["\u7af6\u30d7\u30ed"],"provider_name":"Hatena Blog","url":"https://sei0o.hateblo.jp/entry/2017/08/02/151710","height":"190","width":"100%","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsei0o.hateblo.jp%2Fentry%2F2017%2F08%2F02%2F151710\" title=\"ARC 027 B: \u5927\u4e8b\u306a\u6570\u306a\u306e\u3067Z\u56de\u66f8\u304d\u307eL\u305f\u3002(Union-Find) - \u66f4\u65b0\u65e5\u6642\u3067\u5dee\u3092\u3064\u3051\u308d\" 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":null}