<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>phyllo_algo</author_name>
  <author_url>https://blog.hatena.ne.jp/phyllo_algo/</author_url>
  <blog_title>phyllo’s algorithm note</blog_title>
  <blog_url>https://phyllo-algo.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>問題 連結とは限らない、N頂点、M本の辺を持つ無向グラフが与えられる。 頂点には1～Nの番号が振られている。 Q回「頂点v_jから距離d_jの頂点を色c_jで塗る」という操作をした後の各頂点の色が何色か答えよ。 制約 1 0 1 自己ループや多重辺は存在しない 解説 https://atcoder.jp/img/agc012/editorial.pdf AtCoder Grand Contest 012 解説放送 - YouTube 愚直な方法を考える。 操作をそのまま実行して、頂点vから深さdまで実際にたどって色cで塗ることを繰り返す。 ただ、この方法だと色を塗る頂点が全頂点になる可能性があ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fphyllo-algo.hatenablog.com%2Fentry%2F2017%2F04%2F02%2F134834&quot; title=&quot;AGC012 B. Splatter Painting - phyllo’s algorithm note&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>2017-04-02 13:48:34</published>
  <title>AGC012 B. Splatter Painting</title>
  <type>rich</type>
  <url>https://phyllo-algo.hatenablog.com/entry/2017/04/02/134834</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
