<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>anton0825</author_name>
  <author_url>https://blog.hatena.ne.jp/anton0825/</author_url>
  <blog_title>日々精進</blog_title>
  <blog_url>https://anton0825.hatenablog.com/</blog_url>
  <categories>
    <anon>IT</anon>
    <anon>TopCoder</anon>
  </categories>
  <description>問題の分析 N本のワインがあり、どれか一本を熟成させ、どれか一本を若返らせます。i番目のワインを熟成させるとprofit[i]の利益が得られ、 i番目のワインを若返らせるとdecay[i]の損失が生じます。 得られる最大の利益を求めなさい。 方針 利益の最大値−損失の最小値を返せばOKです。 但し、利益最大のワインと損失最小のワインが同じである場合は 利益の最大値−損失の2番目の最小値と利益の2番目の最大値−損失の最小値の大きい方となります。 ソースコード using System; using System.Collections.Generic; using System.Text; pu…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fanton0825.hatenablog.com%2Fentry%2F20110213%2F1298208887&quot; title=&quot;SRM492 Div2 Easy - 日々精進&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>2011-02-13 22:34:47</published>
  <title>SRM492 Div2 Easy</title>
  <type>rich</type>
  <url>https://anton0825.hatenablog.com/entry/20110213/1298208887</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
