<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>Kazun_kyopro</author_name>
  <author_url>https://blog.hatena.ne.jp/Kazun_kyopro/</author_url>
  <blog_title>Kazun の競プロ記録</blog_title>
  <blog_url>https://kazun-kyopro.hatenablog.com/</blog_url>
  <categories>
    <anon>AtCoder</anon>
    <anon>ABC</anon>
    <anon>ABC254</anon>
    <anon>C問題</anon>
    <anon>300 pts</anon>
  </categories>
  <description>問題 atcoder.jp 提出解答 atcoder.jp 問題の概要 長さが の整数列 がある. この列に対して, 以下の操作を0回以上行い, を昇順に並び替えることができるか? 以上 以下の整数 を選び, と を入れ替える. 制約 解法 以下では数列の添字を1ずつ減らして 0-indexed であるとする. まず, 次のことが成り立つ. 長さが の列 がある. 以下は同値である. は のある並び替えである. に対して, 以下の操作を 回以上行い, を と一致させることができる. 以上 未満の整数 を選び, と を入れ替える. ここで, 個の列 を次のように定める. このとき, と を入れ替…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkazun-kyopro.hatenablog.com%2Fentry%2FABC%2F254%2FC&quot; title=&quot;AtCoder Beginner Contest 254 C問題 K Swap - Kazun の競プロ記録&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-06-04 23:19:55</published>
  <title>AtCoder Beginner Contest 254 C問題 K Swap</title>
  <type>rich</type>
  <url>https://kazun-kyopro.hatenablog.com/entry/ABC/254/C</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
