<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>panzer-jagdironscrap1</author_name>
  <author_url>https://blog.hatena.ne.jp/panzer-jagdironscrap1/</author_url>
  <blog_title>なんとな～くしあわせ？の日記</blog_title>
  <blog_url>https://nantonaku-shiawase.hatenablog.com/</blog_url>
  <categories>
    <anon>C</anon>
  </categories>
  <description>バブルソートをC言語で書くとどうなるのか。練習で書いてみる。 自分で書いたやつ バブルソート int j=0,work=0; i = 30; for(i=30;i&gt;=2;i--); { for(j=0;j&lt;=i-1;j++); { if(sai[j] &gt; sai[j+1]) { work=sai[j]; sai[j]=sai[j+1]; sai[j+1]=work; } } } 自分が書いたやつのままだとソートが途中までしか行われない。なんでだろう？ for (data = n; data &gt; 1; --data) みたいな形で、データを一度実数じゃなくて変数に代入しないとうまくいかないのか。…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fnantonaku-shiawase.hatenablog.com%2Fentry%2F20110219&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>2011-02-19 00:00:00</published>
  <title>各種ソート練習</title>
  <type>rich</type>
  <url>https://nantonaku-shiawase.hatenablog.com/entry/20110219</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
