<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>pknight</author_name>
  <author_url>https://blog.hatena.ne.jp/pknight/</author_url>
  <blog_title>(void*)Pないと</blog_title>
  <blog_url>https://pknight.hatenablog.com/</blog_url>
  <categories>
    <anon>C</anon>
    <anon>algorithm</anon>
  </categories>
  <description>http://www.geocities.jp/ky_webid/algorithm/001.htmlある値AとBを交換しようと思ったら一時変数に代入しないと交換できない work = a; a = b; b = work; 因みにPerlという言語の場合は一時変数を用意しなくても代入できる。 ($a,$b) = ($b,$a); 一時変数を使わない交換 紹介されています。 b = a - b; a -= b; b += a; なんか凄いですね。実際に値を設定して考えて見ましょうか。 a = 12, b = 4と仮定する b = 12 - 4; b = 8; a = 12 - 8; a = 4…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fpknight.hatenablog.com%2Fentry%2F20090702%2F1246517826&quot; title=&quot;交換のアルゴリズム - (void*)Pないと&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>2009-07-02 15:57:06</published>
  <title>交換のアルゴリズム</title>
  <type>rich</type>
  <url>https://pknight.hatenablog.com/entry/20090702/1246517826</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
