<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>mayokoex</author_name>
  <author_url>https://blog.hatena.ne.jp/mayokoex/</author_url>
  <blog_title>mayoko’s diary</blog_title>
  <blog_url>https://mayokoex.hatenablog.com/</blog_url>
  <categories>
    <anon>AtCoder</anon>
  </categories>
  <description>KUPC2015 に参加しました。 ABCDE 解いて 60 位くらいでした。うーん。 問題 kupc2015.contest.atcoder.jp 解法 方針としては, 最後に滞在する街で場合分けしてそれぞれの場合に得られるお金の最大値を求める, という感じで解きます。そのためには, 街 i に滞在するために最低限必要な日数, およびその際に持っているお金を dp で持っておけば良いです。 街 i で滞在するときに稼げるお金は, 街 0 から i の中で滞在する際にもらえるお金の最大値とみなせることに注意します。なんとなく 今年の ICPC 国内予選の D 問題に似てると思いました(pair…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmayokoex.hatenablog.com%2Fentry%2F2015%2F10%2F25%2F100220&quot; title=&quot;京都大学プログラミングコンテスト2015 D - 高橋君の旅行 - mayoko’s diary&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>2015-10-25 10:02:20</published>
  <title>京都大学プログラミングコンテスト2015 D - 高橋君の旅行</title>
  <type>rich</type>
  <url>https://mayokoex.hatenablog.com/entry/2015/10/25/100220</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
