<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>h0rnet</author_name>
  <author_url>https://blog.hatena.ne.jp/h0rnet/</author_url>
  <blog_title>0w1</blog_title>
  <blog_url>https://h0rnet.hatenablog.com/</blog_url>
  <categories>
    <anon>CSAcademy</anon>
    <anon>Greedy</anon>
    <anon>Python</anon>
  </categories>
  <description>Round #23 (Div. 2 only)題意： 有 N 個城市，以座標描述。兩個城市之間的移動的所需時間是曼哈頓距離。有些城市是特別的 ( S = 1 )，特別的城市之間可以花費 T 單位時間進行瞬間移動。Q 筆詢問，每次問兩個城市之間最少需要花費的移動時間。限制： 2≤N≤1000 1≤T≤2000 0≤Q≤1000 0≤x,y≤1000 There are no two points that share the same coordinates.解法： 如果沒有要瞬間移動，那麼顯然直接是兩點的曼哈頓距離。 否則，不會瞬間移動超過一次。枚舉兩者最近的特別的城市作為中繼點更新最小值。時…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fh0rnet.hatenablog.com%2Fentry%2F2017%2F04%2F05%2FCSAcademy_23_B__Fast_Travel_%2528_Greedy_%2529&quot; title=&quot;CSAcademy 23 B. Fast Travel ( Greedy ) - 0w1&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>2017-04-05 13:16:30</published>
  <title>CSAcademy 23 B. Fast Travel ( Greedy )</title>
  <type>rich</type>
  <url>https://h0rnet.hatenablog.com/entry/2017/04/05/CSAcademy_23_B__Fast_Travel_%28_Greedy_%29</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
