<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>hamayanhamayan</author_name>
  <author_url>https://blog.hatena.ne.jp/hamayanhamayan/</author_url>
  <blog_title>はまやんはまやんはまやん</blog_title>
  <blog_url>https://blog.hamayanhamayan.com/</blog_url>
  <categories>
    <anon>競技プログラミング</anon>
  </categories>
  <description>https://yukicoder.me/problems/no/781 解説 https://yukicoder.me/submissions/310016原点Oを中心とする、半径root(R)の円の式は x^2+y^2=Rとなる。 よって、格子点は x,yが整数でx^2+y^2=Rを満たす頂点である。 Rの最大値が10^7であるが、このときのx,yの範囲は10^7＜4000^2なので、[-4000,4000]くらいで足りる。 つまり、候補となる格子点は全列挙できるということである。 そのため、全列挙して、R毎に数えたあと、[X,Y]の範囲で最大値を求めればいい。 cnt[r] := x^2…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.hamayanhamayan.com%2Fentry%2F2019%2F01%2F12%2F165658&quot; title=&quot;円周上の格子点の数え上げ [yukicoder No.781] - はまやんはまやんはまやん&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>2019-01-12 16:56:58</published>
  <title>円周上の格子点の数え上げ [yukicoder No.781]</title>
  <type>rich</type>
  <url>https://blog.hamayanhamayan.com/entry/2019/01/12/165658</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
