<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>tookunn</author_name>
  <author_url>https://blog.hatena.ne.jp/tookunn/</author_url>
  <blog_title>tookunn’s diary</blog_title>
  <blog_url>https://tookunn.hatenablog.com/</blog_url>
  <categories>
    <anon>ABC</anon>
  </categories>
  <description>問題 atcoder.jp 考察 重要な点は 文字列反転のコストをどう工夫するか 連続した2文字が同じ文字の場合の削除のコストをどう工夫するか 文字列反転については 文字追加の操作を行いながら、反転しているかどうかの状態を持っておき 反転している場合は文字列の先頭に文字を追加し、反転していない場合は末尾に文字を追加することで解決できる。例えばozRnonnoeが入力の場合、 文字列反転を工夫しないで操作を行うと zononnoe になる。 反転を工夫して同様の操作を行うと eonnonoz になる。このzononnoeとeonnonozは反転しているだけの文字列同士であることが分かる。削除のコ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftookunn.hatenablog.com%2Fentry%2F2021%2F05%2F02%2F151348&quot; title=&quot;ZONeエナジー プログラミングコンテスト “HELLO SPACE” D - 宇宙人からのメッセージ - tookunn’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>2021-05-02 15:13:48</published>
  <title>ZONeエナジー プログラミングコンテスト “HELLO SPACE” D - 宇宙人からのメッセージ</title>
  <type>rich</type>
  <url>https://tookunn.hatenablog.com/entry/2021/05/02/151348</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
