<?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>何の話かと言うと enakai00.hatenablog.com前回の続きです。 ノードを消していく発想（もしくは、トポロジカルオーダーによる処理） 前回のアルゴリズムの計算量を考えてみましょう。 for x in range(1, N+1): for y in range(1, N+1): if dp[y][x] == 0: continue for z in range(1, N+1): if dp[x][z] == 0: continue この3重ループからわかる様に最悪ケースで です。大部分の dp[x][y]、dp[y][z] が 0 であれば、リンク情報を別のデータ構造に持たせた、…</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%2F215232&quot; title=&quot;G - Longest Path の解説（その2） - めもめも&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 21:52:32</published>
  <title>G - Longest Path の解説（その2）</title>
  <type>rich</type>
  <url>https://enakai00.hatenablog.com/entry/2021/07/16/215232</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
