<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>mayokoex</author_name>
  <author_url>https://blog.hatena.ne.jp/mayokoex/</author_url>
  <blog_title>mayoko’s diary</blog_title>
  <blog_url>https://mayokoex.hatenablog.com/</blog_url>
  <categories>
    <anon>CodeForces</anon>
  </categories>
  <description>最初はすぎむさんの解法だけをお借りするつもりだったのですが,よくわからないTLEに悩まされたので結局ソースコードまでお借りしました。 問題 Problem - E - Codeforces 解法 s から t までの最短経路は普通は複数通りあります。で,問題の解答としては,「最短経路を通る際この辺は絶対使う」という場合は &quot;YES&quot; を,「最短経路を通る際この辺を使う可能性がある,かつ辺を通るのにかかる時間が 1 以上」だったら &quot;CAN 1&quot; を,また,その他の場合は,その辺が u -&gt; v という辺であったとして, (s から u までの距離) + (u から v までの距離) + (v …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmayokoex.hatenablog.com%2Fentry%2F2015%2F08%2F07%2F102139&quot; title=&quot;Codeforces Round #Pi (Div. 2) E. President and Roads - mayoko’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></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2015-08-07 10:21:39</published>
  <title>Codeforces Round #Pi (Div. 2) E. President and Roads</title>
  <type>rich</type>
  <url>https://mayokoex.hatenablog.com/entry/2015/08/07/102139</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
