<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>chankilu23</author_name>
  <author_url>https://blog.hatena.ne.jp/chankilu23/</author_url>
  <blog_title>競プロがんばりたい</blog_title>
  <blog_url>https://chankilu23.hatenadiary.com/</blog_url>
  <categories>
    <anon>精進</anon>
  </categories>
  <description>AGC033-A &quot;Darker and Darker&quot; 提出コード atcoder.jp 考察 イメージとしては，既にある黒いマスから四方にどんどん黒いマスが広がっていくかんじです． これにはキューを使ったBFSがよさそうです． まずは，初期段階で黒いマスを全てキューにpushします． キューの先頭要素に対して4近傍を見て，それが与えられたマスの外でなければキューにpushします．ただし，既に見たマスをキューに入れると同じ処理を永遠に繰り返すことになるので，各マスについて既に訪問したかを持っておく配列を作るといいでしょう． また，問題文の1回の操作でどこまで黒いマスを広げられるかということが…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fchankilu23.hatenadiary.com%2Fentry%2F2021%2F02%2F17%2F170356&quot; title=&quot;Darker and Darker - 競プロがんばりたい&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/c/chankilu23/20210217/20210217165820.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2021-02-17 17:03:56</published>
  <title>Darker and Darker</title>
  <type>rich</type>
  <url>https://chankilu23.hatenadiary.com/entry/2021/02/17/170356</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
