<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ke_takahashi</author_name>
  <author_url>https://blog.hatena.ne.jp/ke_takahashi/</author_url>
  <blog_title>memorandums</blog_title>
  <blog_url>https://memorandums.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>以下のような問題と選択肢のペアがあったとします（SPI言語問題）。正解をランダムソートして問題を作るプログラムを作ってみました。問題 正解 1 起源 1 発祥 2 揶揄 2 愚弄 3 我慢 3 忍耐↓（ランダムソート；例）問題 選択肢 1 起源 1 愚弄 2 揶揄 2 忍耐 3 我慢 3 発祥正解 3 1 2ランダムソートはこちらのサイトで教えてもらいました。Rubyは本当に便利ですね。。。ムダムダなプログラムですが、とりあえず動きます。 a = [] open(ARGV[0]).each {|line| a &lt;&lt; line.chomp!} no = [] 0.upto(a.size-1) {…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmemorandums.hatenablog.com%2Fentry%2F20100421%2Fp1&quot; title=&quot;ランダムソート - memorandums&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>2010-04-21 00:00:00</published>
  <title>ランダムソート</title>
  <type>rich</type>
  <url>https://memorandums.hatenablog.com/entry/20100421/p1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
