<?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>http://codeforces.com/contest/1061/problem/DN個のテレビ番組がある。 i番目はL[i]～R[i]分放送している。 最初はテレビを持っていないが、テレビ1つを初期投資X円、1分につきY円の料金で借りられる。 全てのTV番組を見るためにテレビを適切に借りた時の値段総和の最小値をmod10^9+7で答えよ。 考察過程 1. mod10^9+7で答えよの時点でdpとかで最小を取ってくる感じじゃない 2. 最適方針があるのだろう 3. （区間スケジューリング問題っぽいので、Rでソートして貪欲になにかすればいい？） 4. 眠くて寝た 5. 翌日Benqさんの解法…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.hamayanhamayan.com%2Fentry%2F2018%2F11%2F23%2F101518&quot; title=&quot;TV Shows [Codeforces Round #523 (Div. 2) 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-11-23 10:15:18</published>
  <title>TV Shows [Codeforces Round #523 (Div. 2) D]</title>
  <type>rich</type>
  <url>https://blog.hamayanhamayan.com/entry/2018/11/23/101518</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
