<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>emtubasa</author_name>
  <author_url>https://blog.hatena.ne.jp/emtubasa/</author_url>
  <blog_title>ツバサの備忘録</blog_title>
  <blog_url>https://emtubasa.hateblo.jp/</blog_url>
  <categories>
    <anon>貪欲法</anon>
    <anon>条件の作成</anon>
  </categories>
  <description>問題 提出コード 解法 まず、順番は全く関係なく、できるだけ多くの4人グループを作成していくことだけを考えればよいです。 先にグループを決めてしまえば、決めたグループの中の誰かが先頭に来た時点で、他の人達と相乗りをすればよいです。 ということで、最初に1人、2人、3人、4人組がそれぞれどれだけ存在しているかをカウントします。人組の数をとします。 そして、グループを作成していきます。 まず、4人組はどう見てもそれ以上人数を増やすことができないので、そのまま答えに加算します。 3人組、2人組、1人のうち、どこから4人のグループを作成していくのがいいかというと、4人グループを組みにくい部分、つまり3…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Femtubasa.hateblo.jp%2Fentry%2F2019%2F04%2F10%2F224647&quot; title=&quot;第3回 ドワンゴからの挑戦状 予選 C - スキーリフトの相乗り - ツバサの備忘録&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>https://cdn-ak.f.st-hatena.com/images/fotolife/e/emtubasa/20190410/20190410223531.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2019-04-10 22:46:47</published>
  <title>第3回 ドワンゴからの挑戦状 予選 C - スキーリフトの相乗り</title>
  <type>rich</type>
  <url>https://emtubasa.hateblo.jp/entry/2019/04/10/224647</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
