<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kyopro_friends</author_name>
  <author_url>https://blog.hatena.ne.jp/kyopro_friends/</author_url>
  <blog_title>kyopro_friends’ diary</blog_title>
  <blog_url>https://kyopro-friends.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>スナネコです。 AtCoderのpractice contestのB問題を解いたので解説を書きます。問題ページにあるコード例を読むとわかりますが、この問題は「Q回以下の比較で、長さNの数列をソートせよ」と読み替えられます。 (N,Q)=(26,1000)のとき コード例に書いてあるとおり、バブルソートなど、のソートアルゴリズムを実装すると通ります。 (26,100)のアルゴリズムでも当然解けるので、(26,100)が解けるなら、(26,1000)のためのコードを書く必要はありません。 (N,Q)=(26,100)のとき 最悪計算量がのソートアルゴリズムを書く必要があり、定数倍にも気をつける必要…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkyopro-friends.hatenablog.com%2Fentry%2F2020%2F12%2F29%2F133303&quot; title=&quot;AtCoder  practice contest B問題 Interactive Sorting - kyopro_friends’ 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>2020-12-29 13:33:03</published>
  <title>AtCoder  practice contest B問題 Interactive Sorting</title>
  <type>rich</type>
  <url>https://kyopro-friends.hatenablog.com/entry/2020/12/29/133303</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
