<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>hoship</author_name>
  <author_url>https://blog.hatena.ne.jp/hoship/</author_url>
  <blog_title>宇宙船サンドボックス</blog_title>
  <blog_url>https://starship.hatenablog.com/</blog_url>
  <categories>
    <anon>競技プログラミング</anon>
  </categories>
  <description>感想 AtCoder Beginner Contest 137のCoins Respawn。 自分のようなビギナーには、グラフ問題のエッセンスが詰まったような問題でいろいろ勉強になった。 ポイント Pは辺のコストとしてまとめて考えることができる 辺のコストに-1かけることで、最短経路問題にできる 負の閉路がある可能性があるのでベルマンフォード法を使う 逆辺でつくったグラフをBFSやらDFSで探索することでゴールにたどり着ける頂点を事前に調べる コード typedef long long ll; struct edge {int from;int to;ll cost;}; vector&lt;edg…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fstarship.hatenablog.com%2Fentry%2F2019%2F08%2F13%2F005607&quot; title=&quot;ABC137のE - Coins Respawn - 宇宙船サンドボックス&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://images-fe.ssl-images-amazon.com/images/I/41bHxtpurqL._SL160_.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2019-08-13 00:56:07</published>
  <title>ABC137のE - Coins Respawn</title>
  <type>rich</type>
  <url>https://starship.hatenablog.com/entry/2019/08/13/005607</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
