<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>tic40</author_name>
  <author_url>https://blog.hatena.ne.jp/tic40/</author_url>
  <blog_title>Do Something</blog_title>
  <blog_url>https://tic40.hatenablog.com/</blog_url>
  <categories>
    <anon>AtCoder</anon>
  </categories>
  <description>問題 D - Grid Components 解法 $ h, w $ は 100以下という条件なので、$ h = 100, w = 100 $ で固定して考える $ 1 \leq A \leq 500, 1 \leq B \leq 500 $ の制約であれば、100x100 の 半分 50x50 の領域に500個の連結成分を作ることは可能 上記を前提として考えると、100x100の半分ずつの領域で白、黒それぞれ連結成分を必要数作ればよいことがわかる。 1-50行目を黒、51-100行目を白で初期化しておき、1-50行目で白の連結成分、51-100行目で黒の連結成分を作ることを考える。 連結成分…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftic40.hatenablog.com%2Fentry%2F2020%2F09%2F27%2F144526&quot; title=&quot;atcoder ABC 087 D - Grid Components - Do Something&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>2020-09-27 14:45:26</published>
  <title>atcoder ABC 087 D - Grid Components</title>
  <type>rich</type>
  <url>https://tic40.hatenablog.com/entry/2020/09/27/144526</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
