<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>enakai00</author_name>
  <author_url>https://blog.hatena.ne.jp/enakai00/</author_url>
  <blog_title>めもめも</blog_title>
  <blog_url>https://enakai00.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>何の話かと言うと atcoder.jpこの問題をネタにして、最短／最長経路に関する考え方を説明してみます。 経路問題の基本的な考え方 実際にはいくつかの考え方があって、問題にあわせてうまく選ばないといけないのですが、まずは、汎用性の高い考え方をおさえましょう。通常、経路問題では、隣り合ったノード間のリンクの情報だけが与えられます。つまり、他のノードを経由せずに、ダイレクトに移動できる経路についての情報だけが与えられているのです。ただ、これは逆に言うと、次の様な条件付きの問題は簡単に解けるということです。[例題1] N ノード、M リンクの有向グラフ G があり、G は有向閉路を含みません。各リ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fenakai00.hatenablog.com%2Fentry%2F2021%2F07%2F16%2F193841&quot; title=&quot;G - Longest Path の解説（その1） - めもめも&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>2021-07-16 19:38:41</published>
  <title>G - Longest Path の解説（その1）</title>
  <type>rich</type>
  <url>https://enakai00.hatenablog.com/entry/2021/07/16/193841</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
