<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>smoking186</author_name>
  <author_url>https://blog.hatena.ne.jp/smoking186/</author_url>
  <blog_title>186 @ hatenablog</blog_title>
  <blog_url>https://186.hatenablog.com/</blog_url>
  <categories>
    <anon>確率・統計</anon>
    <anon>CS</anon>
  </categories>
  <description>http://www.hyuki.com/d/200510.html#i20051020190000 以下、サイズをsとする。 正しいシャッフルは長さsの置換全体（対称群）からランダムに選ばなければならない。 void shuffle(int music[], int size) { int i; for (i = 0; i &lt; size; i++) { int r = random(0, size); int m = music[i]; music[i] = music[r]; music[r] = m; } }このプログラムはi step目でmusic[i]とmusic[r]を置き換えてい…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2F186.hatenablog.com%2Fentry%2F20051020%2F1129820178&quot; title=&quot; シャッフルについて - 186 @ hatenablog&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>2005-10-20 23:56:18</published>
  <title> シャッフルについて</title>
  <type>rich</type>
  <url>https://186.hatenablog.com/entry/20051020/1129820178</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
