<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>moistx</author_name>
  <author_url>https://blog.hatena.ne.jp/moistx/</author_url>
  <blog_title>Logfiles</blog_title>
  <blog_url>https://logfiles.hatenablog.com/</blog_url>
  <categories>
    <anon>TopCoder</anon>
  </categories>
  <description>問題概要 会社でX人運べるシャトルバスを数台雇いたい。このシャトルバスを雇う費用は一台 baseCost + X * seatCost で計算される。各地点に住む従業員数が vector cnt で与えられるので、すべての従業員を運ぶようにしたとき会社の負担する費用の合計を最小化せよ。解法 二重ループの全探索。 先ずX人を決め打ちするループを回す必要があるので、Xの取りうる範囲を考える。すると、シャトルバス一台について高々 vector cnt の最大値まで座席があれば十分と分かるので、これがXの最大値である。また座席数Xの最小値は1であり、cntの最小値ではないことに注意。 シャトルバス一台…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Flogfiles.hatenablog.com%2Fentry%2F20140325%2F1395762469&quot; title=&quot;SRM600 Div2Easy TheShuttles - Logfiles&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>2014-03-25 00:47:49</published>
  <title>SRM600 Div2Easy TheShuttles</title>
  <type>rich</type>
  <url>https://logfiles.hatenablog.com/entry/20140325/1395762469</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
