<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>bouzuya</author_name>
  <author_url>https://blog.hatena.ne.jp/bouzuya/</author_url>
  <blog_title>bouzuya.hatenablog.com</blog_title>
  <blog_url>https://bouzuya.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>ABC051 D を解いた。問題の一部をダイクストラ法とベルマン・フォード法の二種類で解いた。過去に何度も本番で実装をバグらせているので蟻本などを読みながら改めて実装した。 ダイクストラ法 https://atcoder.jp/contests/abc051/submissions/13681607 ベルマン・フォード法 https://atcoder.jp/contests/abc051/submissions/13680599 ダイクストラ法側は負の数を含んではいけないことが分かるように重みを u64 にした。 ベルマン・フォード法側は負の閉路があるときに None を返すようにした。 A…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fbouzuya.hatenablog.com%2Fentry%2F2020%2F05%2F29%2F224133&quot; title=&quot;ABC051 D でダイクストラ法やベルマン・フォード法を試した - bouzuya.hatenablog.com&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>2020-05-29 22:41:33</published>
  <title>ABC051 D でダイクストラ法やベルマン・フォード法を試した</title>
  <type>rich</type>
  <url>https://bouzuya.hatenablog.com/entry/2020/05/29/224133</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
