<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kamegu3</author_name>
  <author_url>https://blog.hatena.ne.jp/kamegu3/</author_url>
  <blog_title>kamegu's memo</blog_title>
  <blog_url>https://kamegu.hateblo.jp/</blog_url>
  <categories>
    <anon>CodeIQ</anon>
  </categories>
  <description>オリジナルの問題 http://pavlocat.hatenadiary.jp/entry/2013/08/25/181515今回は商品10個、商品を渡す順番とお金の渡し方を考えます。@ozy4dmさんによるコード https://bitbucket.org/ozy4dm/otsuri_master 私の解答です（Java）。 https://gist.github.com/kamegu/7149594実行時間は1300msくらいでした。 10-&gt;20件にすると約5分かかります。 解説記事を見てみると、まだまだ工夫の余地がありそうです。 以下はいただいたコメントです。 最適解を求めるだけでなく…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkamegu.hateblo.jp%2Fentry%2Fcodeiq%2F477-otsuri-master&quot; title=&quot;CodeIQ 目指せお釣りマスター！を解きました - kamegu&amp;#39;s memo&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>2013-10-25 21:09:14</published>
  <title>CodeIQ 目指せお釣りマスター！を解きました</title>
  <type>rich</type>
  <url>https://kamegu.hateblo.jp/entry/codeiq/477-otsuri-master</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
