{"title":"P - Independent Set \u306e\u89e3\u8aac","description":"\u4f55\u306e\u8a71\u304b\u3068\u8a00\u3046\u3068 atcoder.jp\u3053\u306e\u554f\u984c\u3092\u30cd\u30bf\u306b\u3001\u6728\u69cb\u9020\u30c7\u30fc\u30bf\u306b\u95a2\u3059\u308b\u554f\u984c\u306e\u57fa\u672c\u3092\u8aac\u660e\u3057\u307e\u3059\u3002\uff08DP\u3068\u3044\u3046\u3088\u308a\u306f\u3001\u6728\u69cb\u9020\u30c7\u30fc\u30bf\u306e\u53d6\u308a\u6271\u3044\u304c\u30e1\u30a4\u30f3\u306e\u554f\u984c\u3067\u3059\u306d\u3002\uff09 \u6728\u69cb\u9020\u30c7\u30fc\u30bf\u306e\u53d6\u308a\u6271\u3044 \u30c7\u30fc\u30bf\u3068\u3057\u3066\u4e0e\u3048\u3089\u308c\u308b\u306e\u306f\u30ce\u30fc\u30c9\u9593\u306e\u30ea\u30f3\u30af\u60c5\u5831\u306e\u307f\u3067\u3001\u3069\u3061\u3089\u304c\u89aa\u30ce\u30fc\u30c9\u304b\u306f\u6c7a\u3081\u3089\u308c\u3066\u3044\u307e\u305b\u3093\u3002\u3053\u306e\u3088\u3046\u306a\u5834\u5408\u306f\u3001\u3069\u3061\u3089\u304c\u89aa\u304b\u3092\u6c17\u306b\u305b\u305a\u306b\u3001\u3059\u3079\u3066\u306e\u5b50\u30ce\u30fc\u30c9\u3068\u3057\u3066\u8a18\u9332\u3057\u3066\u304a\u304d\u307e\u3059\u3002 children = [[] for _ in range(N+1)] for _ in range(N-1): x, y = list(map(int, f.readline().split())) children[y].a\u2026","height":"190","author_name":"enakai00","categories":[],"author_url":"https://blog.hatena.ne.jp/enakai00/","image_url":null,"url":"https://enakai00.hatenablog.com/entry/2021/07/23/091032","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fenakai00.hatenablog.com%2Fentry%2F2021%2F07%2F23%2F091032\" title=\"P - Independent Set \u306e\u89e3\u8aac - \u3081\u3082\u3081\u3082\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","type":"rich","width":"100%","provider_name":"Hatena Blog","blog_url":"https://enakai00.hatenablog.com/","version":"1.0","provider_url":"https://hatena.blog","published":"2021-07-23 09:10:32","blog_title":"\u3081\u3082\u3081\u3082"}