<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>koisuru_com</author_name>
  <author_url>https://blog.hatena.ne.jp/koisuru_com/</author_url>
  <blog_title>❤恋するコンピュータサイエンス❤</blog_title>
  <blog_url>https://koisuru-computer.hateblo.jp/</blog_url>
  <categories>
  </categories>
  <description>バブルソートは配列をソートするアルゴリズムとしては直感的にわかりやすいアルゴリズムと言える。隣り合った要素を比較して入れ替えるという動作を要素数-1回繰り返すというアルゴリズムです #include &lt;stdio.h&gt; void sort(int a[]){ int i,j; i = 0; while(i &lt; 5) { int j = i+1; //i+1つまり隣の要素のインデックスを定義しておく&lt;/span&gt; while(j &lt; 5) { if(a[j] &lt;a[i]) { int tmp = a[i]; a[i] = a[j]; a[j] = tmp; }//ブロックの中はスワップ隣あう数値…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkoisuru-computer.hateblo.jp%2Fentry%2F2023%2F02%2F01%2F004600&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>2023-02-01 00:46:00</published>
  <title>バブルソートアルゴリズム　Ｃ</title>
  <type>rich</type>
  <url>https://koisuru-computer.hateblo.jp/entry/2023/02/01/004600</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
