<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>antimon2_math</author_name>
  <author_url>https://blog.hatena.ne.jp/antimon2_math/</author_url>
  <blog_title>名古屋で数学するプログラマ(仮)</blog_title>
  <blog_url>https://antimon2.hatenablog.jp/</blog_url>
  <categories>
    <anon>CodeIQ</anon>
    <anon>アルゴリズム</anon>
    <anon>転倒数</anon>
  </categories>
  <description>一昨日 の続き。通称「クロッシング問題」（実質「転倒数計算問題」）について、結城 浩 氏からフィードバックが届きました。 （解答投稿した人しか見られないらしいのでURLとか貼れませんのでご了承ください）その中で、こちらの想定していたアルゴリズム以外のものが紹介されていたので、ちょっと試してみました。 改めて、転倒数計算アルゴリズム 結城氏の紹介していたアルゴリズムは、以下の 3+1 つでした。 ナイーブな方法（＝バブルソートと同等の素朴な方法、計算量 O(n2) マージソートを使う方法（計算量 O(n log n)） 転倒表（逆転表）を使う方法（計算量 O(n log n)） （おまけ）BIT…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fantimon2.hatenablog.jp%2Fentry%2F2013%2F09%2F04%2F225924&quot; title=&quot;もっと「クロッシング問題」（＝転倒数計算問題） - 名古屋で数学するプログラマ(仮)&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>2013-09-04 22:59:24</published>
  <title>もっと「クロッシング問題」（＝転倒数計算問題）</title>
  <type>rich</type>
  <url>https://antimon2.hatenablog.jp/entry/2013/09/04/225924</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
