{"provider_url":"https://hatena.blog","version":"1.0","image_url":null,"title":"\u968e\u4e57\u8a08\u7b97","height":"190","published":"2010-05-02 00:00:00","provider_name":"Hatena Blog","url":"https://mzp.hatenadiary.org/entry/20100502/fact","author_name":"mzp","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmzp.hatenadiary.org%2Fentry%2F20100502%2Ffact\" title=\"\u968e\u4e57\u8a08\u7b97 - \u307f\u305a\u3074\u30fc\u65e5\u8a18\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","categories":["Perl","30\u5206\u30d7\u30ed\u30b0\u30e9\u30e0"],"type":"rich","width":"100%","author_url":"https://blog.hatena.ne.jp/mzp/","description":"30\u5206\u30d7\u30ed\u30b0\u30e9\u30e0\u3001\u305d\u306e761\u3002 \u7279\u306b\u3084\u308b\u3053\u3068\u3082\u601d\u3044\u3064\u304b\u306a\u3044\u306e\u3067\u3001\u968e\u4e57\u3092\u8a08\u7b97\u3057\u3066\u307f\u307e\u3057\u305f\u3002\u4e00\u5fdc\u3001\u672b\u5c3e\u518d\u5e30\u306b\u3057\u3066\u307f\u307e\u3057\u305f\u3002 \u4f7f\u3044\u65b9 $ perl fact.pl 1 2 3 5 8 13 21 34 55 89 144 \u30bd\u30fc\u30b9\u30b3\u30fc\u30c9 #! /usr/bin/perl # -*- mode:perl; coding:utf-8 -*- use strict; use warnings; use Data::Dumper; sub facti($$$){ my ($n, $prev, $current) = @_; if($n == 0) { $current; }else{ @_ = ($n - 1\u2026","blog_title":"\u307f\u305a\u3074\u30fc\u65e5\u8a18","blog_url":"https://mzp.hatenadiary.org/"}