<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>moistx</author_name>
  <author_url>https://blog.hatena.ne.jp/moistx/</author_url>
  <blog_title>Logfiles</blog_title>
  <blog_url>https://logfiles.hatenablog.com/</blog_url>
  <categories>
    <anon>TopCoder</anon>
    <anon>SRM</anon>
  </categories>
  <description>大意 プレイヤーのいる座標(u, v) から、X, Y軸平行に絶対値距離d だけ離れてつくられる正方形の領域が、プレイヤーの勢力域であるとする。敵の座標(x, y)が与えられるので、敵を勢力域に入れるためにプレイヤーが初期位置 (0, 0) から移動すべきユークリッド距離の最小を求めよ。解法 初期位置が(0, 0)で勢力域が正方形の領域で対称なので、敵の座標はx, yそれぞれについて絶対値をとってしまってよい。あとはx方向とy方向について差分をとりユークリッド距離を求めるだけ。ただし既に勢力域にある場合は移動する必要がないので、x, y それぞれの差分が 0 未満だったら 0 にならすようにす…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Flogfiles.hatenablog.com%2Fentry%2F20140404%2F1396598460&quot; title=&quot;SRM514 Div2Easy MagicalGirlLevelOneDivTwo - Logfiles&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>2014-04-04 17:01:00</published>
  <title>SRM514 Div2Easy MagicalGirlLevelOneDivTwo</title>
  <type>rich</type>
  <url>https://logfiles.hatenablog.com/entry/20140404/1396598460</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
