<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>Yoshichi</author_name>
  <author_url>https://blog.hatena.ne.jp/Yoshichi/</author_url>
  <blog_title>Yoshichiの日記</blog_title>
  <blog_url>https://yoshichi9.hatenablog.com/</blog_url>
  <categories>
    <anon>Atcoder</anon>
    <anon>競技プログラミング復習用</anon>
  </categories>
  <description>問題概要 D - Cake 123 X 種類、Y 種類、Z 種類の3つの種類に重みがついている。 3種類の組み合わせで重みの合計が高い順にK個出力せよ。 解法(解説AC) X, Y, Zをソートしておき、 Priority Queueへ最も高い重みの合計を放り込んでおく。 最も高い重みのi, j, kの状態から各種類で次点に高い重みへを1つずつずらしていき、 重みの合計をPriority Queueへ追加していく。 q.push(X(i + 1) + Y + Z) q.push(X + Y(j + 1) + Z) q.push(X + Y + Z(k + 1)) 提出コード x, y, z, …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyoshichi9.hatenablog.com%2Fentry%2F2019%2F04%2F30%2F041739&quot; title=&quot; ABC 123 D - Cake 123 - Yoshichiの日記&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>2019-04-30 04:17:39</published>
  <title> ABC 123 D - Cake 123</title>
  <type>rich</type>
  <url>https://yoshichi9.hatenablog.com/entry/2019/04/30/041739</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
