<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>inamori</author_name>
  <author_url>https://blog.hatena.ne.jp/inamori/</author_url>
  <blog_title>inamori’s diary</blog_title>
  <blog_url>https://inamori.hateblo.jp/</blog_url>
  <categories>
  </categories>
  <description>https://atcoder.jp/contests/abc447/tasks/abc447_e最小カット問題のように見えますが、そのアルゴリズムだと全然間に合いません。 コストが2のindex乗なので、カット集合同士でコストを比較すると各集合で最大のindexが違っていればそれが大きい方が大きいコストです。すなわち、最大のindexが小さいほうがよいカットとだとわかります。 また、連結グラフの問題ではエッジを削るよりUnion-Findを使ってエッジを追加するほうが簡単というのはよくある話です。だから、なるべくindexの小さいエッジを削除するのではなく、なるべくindexの大きい追加する…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Finamori.hateblo.jp%2Fentry%2F2026%2F03%2F02%2F125707&quot; title=&quot;AtCoder Beginner Contest 447 E - inamori’s diary&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2026-03-02 12:57:07</published>
  <title>AtCoder Beginner Contest 447 E</title>
  <type>rich</type>
  <url>https://inamori.hateblo.jp/entry/2026/03/02/125707</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
