<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>noimin</author_name>
  <author_url>https://blog.hatena.ne.jp/noimin/</author_url>
  <blog_title>NoiminのNoise</blog_title>
  <blog_url>https://noimin.hatenablog.com/</blog_url>
  <categories>
    <anon>競技プログラミング (問題解説)</anon>
  </categories>
  <description>問題: https://codeforces.com/contest/1238/problem/E 問題概要 小文字のアルファベットのうち最初の m 文字のみ (例えば$m = 3$ なら a と b と c のみ) からなり$\left| s \right| \leq 10^5$ を満たす文字列 s が与えられる． ここで，小文字のアルファベットのうち最初の m 文字の順列 t を作る． 任意の $i \lt \left| s \right|$ について，$s_{i}$ と $s_{i+1}$ が t 上で d 文字ぶん離れているとき，コストが d かかるとする． s 全体での合計コストが最…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fnoimin.hatenablog.com%2Fentry%2F2019%2F10%2F10%2F195033&quot; title=&quot;Educational Codeforces Round 74 E. Keyboard Purchase - NoiminのNoise&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://chart.apis.google.com/chart?cht=tx&amp;amp;chl=%7B%5Cdisplaystyle%20n%20%28%5Cleq%205000%29%20%7D</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2019-10-10 19:50:33</published>
  <title>Educational Codeforces Round 74 E. Keyboard Purchase</title>
  <type>rich</type>
  <url>https://noimin.hatenablog.com/entry/2019/10/10/195033</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
