<?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/1140 前提知識 素数判定 フェルマーの小定理 解説 https://yukicoder.me/submissions/522953 難しい問題に見える。要求事項として、以下がある。 Pが素数かを判定 Pが素数ならmodP上で、AのP!乗を計算せよ Pが素数かを判定 素数判定には色々やり方があるが、Pの上限は5×106なので、 エラトステネスの篩で前計算しておいて、素数判定はO(1)とするのがいい。 まあ、この辺は頑張ってほしい。 AのP!乗？ 普通に計算するのは無理というのは何となく分かる。 累乗のmod Pは見覚えが無いだ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.hamayanhamayan.com%2Fentry%2F2020%2F08%2F01%2F122317&quot; title=&quot;EXPotentiaLLL! [yukicoder 1140] - はまやんはまやんはまやん&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>2020-08-01 12:23:17</published>
  <title>EXPotentiaLLL! [yukicoder 1140]</title>
  <type>rich</type>
  <url>https://blog.hamayanhamayan.com/entry/2020/08/01/122317</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
