<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>drken1215</author_name>
  <author_url>https://blog.hatena.ne.jp/drken1215/</author_url>
  <blog_title>けんちょんの競プロ精進記録</blog_title>
  <blog_url>https://drken1215.hatenablog.com/</blog_url>
  <categories>
    <anon>総和を求める</anon>
    <anon>数列</anon>
    <anon>考察：主客転倒・寄与分解</anon>
    <anon>Codeforces</anon>
    <anon>CodeforcesCombined</anon>
    <anon>CodeforcesR2500</anon>
  </categories>
  <description>考え方はすぐわかるけど実装が大変... 問題へのリンク 問題概要 長さ の数列 と整数 が与えられる。 この数列に対して次のような操作を繰り返す 連続する k 個の区間についての最大値をすべて書き出す この操作を 1 回行うごとに数列の長さは だけ減ることになる。数列の長さが 以下になるまで繰り返したときの、各操作後の数列の値の総和の総和を 1000000007 で割ったあまりを求めよ。 制約 考えたこと 各操作後にどうなっているのかをシミュレートする系ではなく、数列の各要素がどの段階まで生き残り、結果何個分ずつカウントされるのかを考える系の問題...というのはすぐにわかった。 が、そこから詰…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdrken1215.hatenablog.com%2Fentry%2F2018%2F09%2F04%2F233600&quot; title=&quot;Codeforces Manthan Codefest 18 (Div. 1 + Div. 2) F - Maximum Reduction (R2500) - けんちょんの競プロ精進記録&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>https://chart.apis.google.com/chart?cht=tx&amp;chl=%20n</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2018-09-04 23:36:00</published>
  <title>Codeforces Manthan Codefest 18 (Div. 1 + Div. 2) F - Maximum Reduction (R2500)</title>
  <type>rich</type>
  <url>https://drken1215.hatenablog.com/entry/2018/09/04/233600</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
