<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>betrue12</author_name>
  <author_url>https://blog.hatena.ne.jp/betrue12/</author_url>
  <blog_title>ARMERIA</blog_title>
  <blog_url>https://betrue12.hateblo.jp/</blog_url>
  <categories>
    <anon>Codeforces</anon>
    <anon>プログラミング</anon>
    <anon>競技プログラミング</anon>
  </categories>
  <description>Problem - G - Codeforces 問題概要 個の相異なる英小文字列からなる集合 がある。この集合の要素 それぞれについて以下を求めよ。 文字列 を空文字列から始めて、以下の2つの操作を好きな順番で繰り返して と一致させるための最小コストを求めよ。 操作1： の末尾に好きな文字を1つ加える。操作コストは1。 操作2：文字列を「補完」する。 の要素のうち を接頭辞に持つものを辞書順に並べ、その中から好きな文字列を選んで をそれに変化させる。この文字列が辞書順で 番目（1-indexed）だった場合、操作コストは 。 入力/制約 入力は根と 個の頂点からなる trie（トライ木） の…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fbetrue12.hateblo.jp%2Fentry%2F2020%2F03%2F10%2F192959&quot; title=&quot;Educational Codeforces Round 83 G. Autocompletion - ARMERIA&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/b/betrue12/20200310/20200310191658.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2020-03-10 19:29:59</published>
  <title>Educational Codeforces Round 83 G. Autocompletion</title>
  <type>rich</type>
  <url>https://betrue12.hateblo.jp/entry/2020/03/10/192959</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
