{"height":"190","version":"1.0","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.hamayanhamayan.com%2Fentry%2F2019%2F12%2F29%2F032612\" title=\"Balancing Network [AtCoder Grand Contest 041 E] - \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>","author_name":"hamayanhamayan","image_url":null,"published":"2019-12-29 03:26:12","author_url":"https://blog.hatena.ne.jp/hamayanhamayan/","width":"100%","blog_title":"\u306f\u307e\u3084\u3093\u306f\u307e\u3084\u3093\u306f\u307e\u3084\u3093","url":"https://blog.hamayanhamayan.com/entry/2019/12/29/032612","description":"https://atcoder.jp/contests/agc041/tasks/agc041_e \u524d\u63d0\u77e5\u8b58 bitset\u9ad8\u901f\u5316 \u89e3\u8aac https://atcoder.jp/contests/agc041/submissions/9195266 2\u3064\u306e\u554f\u984c\u304c\u5165\u3063\u3066\u3044\u308b\u304c\u3001\u5168\u304f\u5225\u306e\u30a2\u30d7\u30ed\u30fc\u30c1\u3067\u89e3\u304f\u3002 T=1\u3067\u306f\u3001bitset\u9ad8\u901f\u5316\u3067\u89e3\u304f\u3002 dp[i][j] := \u5e73\u8861\u5668i\u304b\u3089\u5e73\u8861\u5668j\u3078\u5230\u9054\u53ef\u80fd\u304b \u3053\u308c\u306ej\u306e\u90e8\u5206\u3092bitset\u3067\u6301\u3064\u3053\u3068\u306b\u3059\u308b\u3002 \u3059\u308b\u3068\u3001X[i]\u3068Y[i]\u306e\u30b1\u30fc\u30d6\u30eb\u306b\u3088\u3063\u3066\u3001 dp[X[i]] = dp[Y[i]] = dp[X[i]] | dp[Y[i]] \u3068\u66f4\u65b0\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u2026","provider_url":"https://hatena.blog","categories":["\u7af6\u6280\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0"],"type":"rich","blog_url":"https://blog.hamayanhamayan.com/","title":"Balancing Network [AtCoder Grand Contest 041 E]","provider_name":"Hatena Blog"}