<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ken_math</author_name>
  <author_url>https://blog.hatena.ne.jp/ken_math/</author_url>
  <blog_title>強くなりたい</blog_title>
  <blog_url>https://well-defined.hatenadiary.com/</blog_url>
  <categories>
    <anon>典型90問</anon>
    <anon>競プロ</anon>
  </categories>
  <description>簡単な解法を自分用にメモしておこうと思います。 001 - Yokan Party（★4） 答えに単調性があるので二分探索を考えます。 答えを決め打ちしての二分探索です。具体的には答えはM以上か？ということを考えます。 仮にK回以上分割してスコアSが得られたとします。このときK回より多く分割していることからより少ない回数で分割すればS以上のスコアが達成できます。 M以上のスコアが取れるかを考える→長さがM以上になったら切断することを考える→得られるスコアはS(&gt;=M)→切断回数がK回以上ならよりS以上(つまりM以上)のスコアが達成できる この判定を二分探索で繰り返します。 AC 002 - E…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwell-defined.hatenadiary.com%2Fentry%2F2022%2F05%2F16%2F174732&quot; title=&quot;典型90問 まとめ 001～010 - 強くなりたい&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>2022-05-16 17:47:32</published>
  <title>典型90問 まとめ 001～010</title>
  <type>rich</type>
  <url>https://well-defined.hatenadiary.com/entry/2022/05/16/174732</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
