<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>drken1215</author_name>
  <author_url>https://blog.hatena.ne.jp/drken1215/</author_url>
  <blog_title>けんちょんの競プロ精進記録</blog_title>
  <blog_url>https://drken1215.hatenablog.com/</blog_url>
  <categories>
    <anon>AtCoder</anon>
    <anon>AtCoder400点</anon>
    <anon>ABC-D</anon>
    <anon>緑色diff</anon>
    <anon>連結成分</anon>
    <anon>Union-Find</anon>
    <anon>連結成分ごとに分解して考える</anon>
    <anon>データ構造</anon>
    <anon>グラフ</anon>
    <anon>DFS</anon>
    <anon>BFS</anon>
    <anon>二部グラフ</anon>
    <anon>二部グラフ判定</anon>
    <anon>総和を求める</anon>
    <anon>解空間:O(N^2)通りの選択肢</anon>
    <anon>コーナーケース</anon>
    <anon>考察：場合分けして考える</anon>
    <anon>Greedy：先に進むほど新たな選択肢が挿入される</anon>
    <anon>Greedy</anon>
    <anon>考察：補集合を考える</anon>
    <anon>【問題集】DFS・BFSのステップアップ</anon>
    <anon>典型要素を詰め合わせた教育的問題</anon>
    <anon>グラフ探索:頂点の値を求めていく</anon>
    <anon>NoviSteps1Q</anon>
  </categories>
  <description>一般にグラフの問題を解くときは「連結成分ごとに解けば良いのではないか」と考えるのが有効なことがある！ その意識がしっかりしていれば、「グラフが非連結の場合に気づかなかった」という罠を回避できる！！ 問題へのリンク 問題概要 頂点数 、辺数 の単純な無向グラフが与えられます。頂点番号を とします。 このグラフにおいて、以下の条件を満たす頂点の組 () の個数を答えてください。 頂点 を結ぶ辺が存在しない 頂点 を結ぶ辺を追加したグラフは二部グラフである 制約 考えたこと 二部グラフとは、下図のように、 白色の頂点同士が隣接しない 黒色の頂点同士が隣接しない という条件を満たすように、各頂点を白黒…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdrken1215.hatenablog.com%2Fentry%2F2022%2F12%2F23%2F223700&quot; title=&quot;AtCoder ABC 282 D - Make Bipartite 2 (1Q, 緑色, 400 点) - けんちょんの競プロ精進記録&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>https://cdn-ak.f.st-hatena.com/images/fotolife/d/drken1215/20221223/20221223224219.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2022-12-23 22:37:00</published>
  <title>AtCoder ABC 282 D - Make Bipartite 2 (1Q, 緑色, 400 点)</title>
  <type>rich</type>
  <url>https://drken1215.hatenablog.com/entry/2022/12/23/223700</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
