<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>JunKobayashi</author_name>
  <author_url>https://blog.hatena.ne.jp/JunKobayashi/</author_url>
  <blog_title>JunKobayashi's Diary</blog_title>
  <blog_url>https://junkobayashi.hatenablog.com/</blog_url>
  <categories>
    <anon>多始点BFS</anon>
    <anon>超頂点</anon>
    <anon>基礎から徹底</anon>
  </categories>
  <description>↓問題のページ↓ C - Humidifier 3 ※特に断らない限り、0-indexedを前提に記載する。 なんとか本番ACには成功したが、超頂点を利用すると鮮やかに多始点BFS問題をしばき倒すことができる感覚が確立されておらず、このままでは解説を読んで「なんて賢い手法なんだ」と感動したという記憶以外が残らない気しかしないのでまとめておく。 重みのないグラフについて、「特定の一頂点からの最短距離を全ての頂点に対して求めろ」と言われればさすがに幅優先探索で一撃だというのは感覚としても身に着いているが、本問における「加湿器が置かれている場所」のように、「始点となる条件を満たしている頂点が複数個存…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fjunkobayashi.hatenablog.com%2Fentry%2F2024%2F12%2F10%2F222109&quot; title=&quot;ABC383 C - Humidifier 3 - JunKobayashi&amp;#39;s Diary&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/J/JunKobayashi/20241210/20241210215707.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2024-12-10 22:21:09</published>
  <title>ABC383 C - Humidifier 3</title>
  <type>rich</type>
  <url>https://junkobayashi.hatenablog.com/entry/2024/12/10/222109</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
