<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>rsc96074</author_name>
  <author_url>https://blog.hatena.ne.jp/rsc96074/</author_url>
  <blog_title>rscのブログ</blog_title>
  <blog_url>https://rsc.hatenablog.com/</blog_url>
  <categories>
    <anon>Python</anon>
  </categories>
  <description>前回の続きです。Pythonなら楽なので、matplotlibを使って、グラフを描いてみました。前回のプログラムに続けてもいいですが、結果のデータだけ取り出して続けました。(^_^; それから、「油分け算」は、英語で「Three Jugs Problem」とも呼ばれているようなので、プログラム名をこれに由来するものに変更してみました。(^_^;● ThreeJugsProb1.py # coding: UTF-8 # ThreeJugsProb1.py # 油分け算 import matplotlib.pyplot as plt def main(): ans = [ [16, 0, 0],[…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Frsc.hatenablog.com%2Fentry%2F20180816%2F1534386716&quot; title=&quot;知恵袋の油分け算の問題をPythonで解いてみた。(2) - rscのブログ&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>https://cdn-ak.f.st-hatena.com/images/fotolife/r/rsc96074/20180816/20180816114046.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2018-08-16 11:31:56</published>
  <title>知恵袋の油分け算の問題をPythonで解いてみた。(2)</title>
  <type>rich</type>
  <url>https://rsc.hatenablog.com/entry/20180816/1534386716</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
