<?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://onlinejudge.u-aizu.ac.jp/beta/review.html#RitsCamp18Day3/2753033DPで解く。 前から順番にpとするかeとするかを決めていくのだが、それぞれ条件がある A[i]をpにするには (前回のp)＜A[i] A[i]が素数 A[i]をeにするには 直前の要素がeでない 条件の中で(前回のp)が出てくるので、これが問題になる。 考察すると「pは2要素以上離れることはない」ということが分かる。 p e eのような列は認められないためである。 よって、前回のpは1つ前か2つ前のどちらかだけであり、その情報だけを記録しておけば…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.hamayanhamayan.com%2Fentry%2F2018%2F03%2F28%2F130447&quot; title=&quot;The Diversity of Prime Factorization [RUPC2018 Day3 D] - はまやんはまやんはまやん&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>2018-03-28 13:04:47</published>
  <title>The Diversity of Prime Factorization [RUPC2018 Day3 D]</title>
  <type>rich</type>
  <url>https://blog.hamayanhamayan.com/entry/2018/03/28/130447</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
