{"height":"190","description":"https://codeforces.com/contest/1131/problem/DN\u8981\u7d20\u306e\u914d\u5217X\u3001M\u8981\u7d20\u306e\u914d\u5217Y\u3092\u69cb\u7bc9\u3059\u308b\u3002 A[x][y] := X[x]\u3068Y[y]\u306e\u5927\u5c0f\u95a2\u4fc2\u3002\uff1c\u306a\u3089X[x]\uff1cY[y]\u3001\uff1e\u306a\u3089X[x]\uff1eY[y]\u3001=\u306a\u3089X[x]=Y[y] \u914d\u5217A\u304c\u4e0e\u3048\u3089\u308c\u305f\u3068\u304d\u306b\u3001\u914d\u5217X,Y\u3092\u69cb\u7bc9\u3067\u304d\u308b\u304b\u5224\u5b9a\u3057\u3001\u3067\u304d\u308b\u306a\u3089\u69cb\u7bc9\u305b\u3088\u3002 1\u2266N,M\u226610^3 \u524d\u63d0\u77e5\u8b58 UnionFind \u30c8\u30dd\u30ed\u30b8\u30ab\u30eb\u30bd\u30fc\u30c8 \u89e3\u8aac https://codeforces.com/contest/1131/submission/50417587\u914d\u5217X,Y\u306e\u5404\u8981\u7d20\u306e\u30b0\u30e9\u30d5\u306e\u9802\u70b9\u3068\u3057\u3066\u8003\u3048\u3001\u5927\u5c0f\u95a2\u4fc2\u306b\u5fdc\u3058\u3066\u6709\u5411\u8fba\u3092\u2026","author_name":"hamayanhamayan","url":"https://blog.hamayanhamayan.com/entry/2019/02/24/163516","version":"1.0","type":"rich","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.hamayanhamayan.com%2Fentry%2F2019%2F02%2F24%2F163516\" title=\"Gourmet choice [Codeforces Round #541 (Div. 2) D] - \u306f\u307e\u3084\u3093\u306f\u307e\u3084\u3093\u306f\u307e\u3084\u3093\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","width":"100%","image_url":null,"provider_name":"Hatena Blog","blog_url":"https://blog.hamayanhamayan.com/","blog_title":"\u306f\u307e\u3084\u3093\u306f\u307e\u3084\u3093\u306f\u307e\u3084\u3093","author_url":"https://blog.hatena.ne.jp/hamayanhamayan/","categories":["\u7af6\u6280\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0"],"provider_url":"https://hatena.blog","published":"2019-02-24 16:35:16","title":"Gourmet choice [Codeforces Round #541 (Div. 2) D]"}