{"type":"rich","width":"100%","published":"2006-04-08 16:28:30","blog_url":"https://hakobe932.hatenablog.com/","title":"Python\u3067\u3082\u308f\u308a\u3068\u305f\u3089\u3044\u56de\u305b\u305d\u3046\uff1f","categories":["\u6280\u8853"],"author_name":"hakobe932","author_url":"https://blog.hatena.ne.jp/hakobe932/","version":"1.0","height":"190","provider_name":"Hatena Blog","provider_url":"https://hatena.blog","blog_title":"\u306f\u3053\u3079\u306b\u3063\u304d \u2668","url":"https://hakobe932.hatenablog.com/entry/20060408/1144481310","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhakobe932.hatenablog.com%2Fentry%2F20060408%2F1144481310\" title=\"Python\u3067\u3082\u308f\u308a\u3068\u305f\u3089\u3044\u56de\u305b\u305d\u3046\uff1f - \u306f\u3053\u3079\u306b\u3063\u304d \u2668\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","description":"\u305f\u3089\u3044\u3092\u56de\u3059\u306a\u3089Haskell\u306e\u8a71\u3002Haskell\u3059\u3052\u3048\u3048\u3048\u3002\u3055\u3066\u3001Python\u306eMemoize*1\u7248\u306f\u8ab0\u304b\u3088\u308d\u3057\u3053\u3001\u3068\u3044\u3046\u3053\u3068\u3067\u3059\u306e\u3067\u305f\u3081\u3057\u306b\u66f8\u3044\u3066\u307f\u307e\u3057\u305f\u3002\u307e\u305aMemoize\u3057\u306a\u3044\u7248\u3092\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u3044\u3058\u3063\u3068\u304d\u307e\u3059\u3002 #!/usr/bin/python import sys def tak (x, y, z): if x <= y: return y else: return tak(tak(x - 1, y, z), tak(y - 1, z, x), tak(z - 1, x, y)) x, y, z = 10, 5, 0 if len(sys.argv) == 4: x, y, z =\u2026","image_url":null}