<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>yuuuuukou</author_name>
  <author_url>https://blog.hatena.ne.jp/yuuuuukou/</author_url>
  <blog_title>yu/logs/*</blog_title>
  <blog_url>https://blog.yuuuuukou.com/</blog_url>
  <categories>
    <anon>AtCoder</anon>
    <anon>Kotlin</anon>
  </categories>
  <description>考え方のメモです。Kotlinで解いています。 解いていた問題 B - Good Distance 2点間の距離が整数になるかを判定する問題 2点間の距離を求めるにあたり平方根が絡んでくる 平方根の値が整数になるか(√を展開したあとに整数になっているか)を判定したいが・・・ 解法メモ √x == k を判定したいのであれば、0 &lt;= k &lt;= xの区間で x == k * kが成り立つことを確認すればよい √xを展開しようとしているので、解があるのであれば、少なくともxまでの間に存在するはず 等式の両辺を2乗するイメージ 提出した回答 Submission #32990612 - AtCode…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.yuuuuukou.com%2Fentry%2F2022%2F07%2F18%2F101752&quot; title=&quot;AtCoder ABC133 B 解法メモ 平方根の値が整数になるかを判定したい - yu/logs/*&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>2022-07-18 10:17:52</published>
  <title>AtCoder ABC133 B 解法メモ 平方根の値が整数になるかを判定したい</title>
  <type>rich</type>
  <url>https://blog.yuuuuukou.com/entry/2022/07/18/101752</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
