<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>komiyam</author_name>
  <author_url>https://blog.hatena.ne.jp/komiyam/</author_url>
  <blog_title>komiyamの日記</blog_title>
  <blog_url>https://komiyam.hatenadiary.org/</blog_url>
  <categories>
    <anon>AOJ</anon>
    <anon>ICPC</anon>
  </categories>
  <description>keyword 整数 素数 Java 問題概要 長さN(素数Q( 解法 文字列をa[0]a[1]..a[N-1]とする。b[i] = a[i]a[i+1]..a[N-1] (10進の数値として解釈)とすると、b[i]=b[j] (mod Q)ならb[i]-b[j]=a[i]a[i+1]..a[j-2]a[j-1]0..0 (10進の数値として解釈)はQの倍数。ここで、Qと10が互いに素ならa[i]a[i+1]..a[j-2]a[j-1] (10進の数値として解釈)もQの倍数。なのでQが2,5以外の時は後ろから数えていけばいいことが分かる。Qが2,5の場合は最後の桁だけ着目すれば良いので簡単。 …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkomiyam.hatenadiary.org%2Fentry%2F20110222%2F1298374228&quot; title=&quot;AOJ-1310: Find the Multiples - komiyamの日記&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>2011-02-22 20:30:28</published>
  <title>AOJ-1310: Find the Multiples</title>
  <type>rich</type>
  <url>https://komiyam.hatenadiary.org/entry/20110222/1298374228</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
