<?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://www.hackerrank.com/contests/75th/challenges/i-want-to-be-a-high-achiever 前提知識 動的計画法 解説 重要なテクがあり、これが適用できれば、ACにだいぶ近づく。 「A[i]の平均がX以上 &lt;=&gt; A[i]-Xの総和が0以上」 平均を実際に求めようと思うと、総和と個数の2種類の情報が必要になるが、 このテクを使えば、総和だけを見ることで平均がX以上になるかを判定できる。 これで変数を1つ減らすことで間に合うDPを作成できる。 dp[i][tot] := i番目までの教科を処理済みで、X[i]-Xの合計がtot…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.hamayanhamayan.com%2Fentry%2F2020%2F03%2F21%2F192931&quot; title=&quot;I want to be a high achiever [灘校75回生中学卒業記念コンテスト] - はまやんはまやんはまやん&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-03-21 19:29:31</published>
  <title>I want to be a high achiever [灘校75回生中学卒業記念コンテスト]</title>
  <type>rich</type>
  <url>https://blog.hamayanhamayan.com/entry/2020/03/21/192931</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
