<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>mmxsrup</author_name>
  <author_url>https://blog.hatena.ne.jp/mmxsrup/</author_url>
  <blog_title>srupのメモ帳</blog_title>
  <blog_url>https://mmxsrup.hatenablog.com/</blog_url>
  <categories>
    <anon>yukicoder</anon>
  </categories>
  <description>問題 問題概要 数列をswapしていく。k回swapするが、k-1回文のswapの処理は与えられるが、どこか一か所のswapの処理がわからないようになっている。一番初めの数列の状態と、最後の数列の状態が与えられるので、途中一か所わからないswapの処理がどのようなものを判定する問題。 解法 まず、はじめの状態から処理がわからない箇所まで順方向にswapの処理をして、どのような数列になるかを求める。つぎ、最後の状態から、処理がわからない箇所まで逆方向にswapの処理をしてどのような数列なるかを求める。それら2つの数列を見比べて、値が異なっている場所が、処理がわからない箇所でswapした場所である…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmmxsrup.hatenablog.com%2Fentry%2F2016%2F10%2F03%2F002837&quot; title=&quot;yukicoder No.429 CupShuffle - srupのメモ帳&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>2016-10-03 00:28:37</published>
  <title>yukicoder No.429 CupShuffle</title>
  <type>rich</type>
  <url>https://mmxsrup.hatenablog.com/entry/2016/10/03/002837</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
