<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>tanakaBox</author_name>
  <author_url>https://blog.hatena.ne.jp/tanakaBox/</author_url>
  <blog_title>ボクノス</blog_title>
  <blog_url>https://boxnos.hatenablog.com/</blog_url>
  <categories>
    <anon>Scheme</anon>
  </categories>
  <description>SICPでやった気がする。Problem 31 イギリスでは硬貨はポンド£とペンスpがあり，一般的な流通ではこれらの8つの硬貨がある．1p, 2p, 5p, 10p, 20p, 50p, £1 (100p) and £2 (200p).以下の方法で£2を作ることが可能である．1×£1 + 1×50p + 2×20p + 1×5p + 1×2p + 3×1pいくらかの硬貨を使って2ポンドを作る方法はいくつあるでしょうか? 再帰で解けるかどうか不安だったけど、なんとかなった。 (define (problem31 c n) (cond ((zero? n) 1) ((or (negative? n…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fboxnos.hatenablog.com%2Fentry%2F20080421%2F1208784700&quot; title=&quot; Problem 31 - コインの両替問題 - ボクノス&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-04-21 22:31:40</published>
  <title> Problem 31 - コインの両替問題</title>
  <type>rich</type>
  <url>https://boxnos.hatenablog.com/entry/20080421/1208784700</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
