<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>inamori</author_name>
  <author_url>https://blog.hatena.ne.jp/inamori/</author_url>
  <blog_title>inamori’s diary</blog_title>
  <blog_url>https://inamori.hateblo.jp/</blog_url>
  <categories>
  </categories>
  <description>https://atcoder.jp/contests/math-and-algorithm/tasks/math_and_algorithm_brしらみつぶしでも十分速いのですが、O(1)でも計算可能です。 の条件だと、正三角形の領域になります。ここでN以下という条件をつけると、NがX-2より小さければ、正三角形の頂点付近の正三角形が落とされて、六角形の領域になります。さらにNが小さければ、切り落とされすぎて再び正三角形の領域になります。例えば、N=4, X=10の場合です。そこから、a, b, cのどれかが同じときを除いて、6で割ります。 // How Many Ways? #![allo…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Finamori.hateblo.jp%2Fentry%2F2023%2F08%2F19%2F100539&quot; title=&quot;アルゴリズムと数学 091（2） - inamori’s diary&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>2023-08-19 10:05:39</published>
  <title>アルゴリズムと数学 091（2）</title>
  <type>rich</type>
  <url>https://inamori.hateblo.jp/entry/2023/08/19/100539</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
