<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>gomi-box</author_name>
  <author_url>https://blog.hatena.ne.jp/gomi-box/</author_url>
  <blog_title>毛のはえたようなもの</blog_title>
  <blog_url>https://gomi-box.hatenablog.com/</blog_url>
  <categories>
    <anon>Ruby</anon>
  </categories>
  <description>帰省したり旅行にいったりと2週間ほどUbuntu氏がネットにつながらない状況にあり、結局のところRuby(とこのブログ)を放置していたのでした。リハビリをかねて昔むかし解いたN-queens問題をRubyで書き直してみました。うむ、リハビリというほどRuby書いていないか。 書き直し自体よりも、Rubyで関数のオーバーロードができないということを調べるのに時間がかかりました。 ソース ファイル名「queens.rb」でボードサイズ「8」ならば $ ruby queens.rb 8などすると動く。 class Queens def initialize(n) @answer = 0 @board…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fgomi-box.hatenablog.com%2Fentry%2F20080323%2F1206249739&quot; title=&quot;N-queens問題(エイトクイーンズ問題) - 毛のはえたようなもの&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>2008-03-23 14:22:19</published>
  <title>N-queens問題(エイトクイーンズ問題)</title>
  <type>rich</type>
  <url>https://gomi-box.hatenablog.com/entry/20080323/1206249739</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
