{"blog_title":"inamori\u2019s diary","categories":["Python"],"provider_name":"Hatena Blog","height":"190","version":"1.0","blog_url":"https://inamori.hateblo.jp/","description":"\u6628\u65e5\u306e\u30b3\u30fc\u30c9\u3067\u3079\u304d\u4e57\u306e\u8a08\u7b97\u3092\u300110\u3092n\u56de\u639b\u3051\u3066\u884c\u3063\u3066\u3044\u305f\u304c\u3001Python\u306f\u3053\u308c\u3067\u3088\u304b\u3063\u305f\u3093\u3060\u3063\u305f\u3002 a = 10**n\u3053\u308c\u3060\u3051\u3067\u306f\u9762\u767d\u304f\u306a\u3044\u306e\u3067\u3001\u518d\u5e30\u306e\u30b3\u30fc\u30c9\u3092\u8003\u3048\u3066\u307f\u305f\u3002 def pow(a, n): if n > 1: half = n >> 1 return pow(a, half) * pow(a, n - half) elif n == 1: return a elif n == 0: return 1 else: return 0print pow(10, 100)\u4f8b\u3048\u3070\u300129\u3092\u8a08\u7b97\u3059\u308b\u3068\u304d\u306b\u3001\u534a\u5206\u306b\u308f\u3051\u3066\u8003\u3048\u308b\u3002 29 = 24 * 25 \u3053\u3046\u3084\u3063\u3066\u5206\u3051\u3066\u3044\u304f\u3068\u3001\u3044\u3064\u304b1\u4e57\u306b\u306a\u308b\u2026","url":"https://inamori.hateblo.jp/entry/20090316/p1","title":"\u3079\u304d\u4e57","image_url":null,"type":"rich","provider_url":"https://hatena.blog","width":"100%","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Finamori.hateblo.jp%2Fentry%2F20090316%2Fp1\" title=\"\u3079\u304d\u4e57 - inamori\u2019s diary\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","author_name":"inamori","author_url":"https://blog.hatena.ne.jp/inamori/","published":"2009-03-16 00:00:00"}