<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ecsmtlir</author_name>
  <author_url>https://blog.hatena.ne.jp/ecsmtlir/</author_url>
  <blog_title>競技プログラミング日記</blog_title>
  <blog_url>https://ecsmtlir.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>ABC429E 解法 多始点BFS. イメージとしては，始点とpath に色を付けて区別しながら BFS. 使っている記号，マクロ等 &quot;https://ecsmtlir.hatenablog.com/entry/2022/12/23/131925&quot; int main() { ll n,m; cin &gt;&gt; n &gt;&gt; m; vvll to(n); rep(i,m){ ll a,b; cin &gt;&gt; a &gt;&gt; b; --a, --b; to[a].push_back(b); to[b].push_back(a); } string s; cin &gt;&gt; s; using T = tuple&lt;ll,ll,…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fecsmtlir.hatenablog.com%2Fentry%2F2026%2F02%2F11%2F074808&quot; title=&quot;AtCoder Beginner Contest 429E問題 - 競技プログラミング日記&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-02-11 07:48:08</published>
  <title>AtCoder Beginner Contest 429E問題</title>
  <type>rich</type>
  <url>https://ecsmtlir.hatenablog.com/entry/2026/02/11/074808</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
