<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>geam1113</author_name>
  <author_url>https://blog.hatena.ne.jp/geam1113/</author_url>
  <blog_title>geam1113’s diary</blog_title>
  <blog_url>https://geam1113.hatenablog.com/</blog_url>
  <categories>
    <anon>ABC</anon>
    <anon>ダイクストラ</anon>
    <anon>ハフマン符号</anon>
  </categories>
  <description>コンテスト中AC: A〜F C - Slot Strategy D - Distinct Trio E - Road Reduction F - Bread C - Slot Strategy 解法は公式解説と同じだったので、実装例だけ書いておきます。 の左から番目に文字があるとして、を配列に記録しておきます。これを、 とします。 これを昇順ソートして、ランレングス圧縮すると、文字が何番目に何個出現するかという組が得られるので、あとは公式解説の方法で計算できます。 Submission #31861075 - AtCoder Beginner Contest 252 D - Distinct …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fgeam1113.hatenablog.com%2Fentry%2F2022%2F05%2F28%2F163029&quot; title=&quot;AtCoder Beginner Contest 252 参加記録 - geam1113’s diary&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>2022-05-28 16:30:29</published>
  <title>AtCoder Beginner Contest 252 参加記録</title>
  <type>rich</type>
  <url>https://geam1113.hatenablog.com/entry/2022/05/28/163029</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
