{"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Finamori.hateblo.jp%2Fentry%2F2019%2F08%2F31%2F224242\" title=\"Python\u3068PyPy\u3067\u6587\u5b57\u3092\u8ffd\u52a0\u3059\u308b\u901f\u5ea6\u304c\u5168\u7136\u9055\u3046 - 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>","blog_title":"inamori\u2019s diary","author_url":"https://blog.hatena.ne.jp/inamori/","version":"1.0","published":"2019-08-31 22:42:42","description":"Alignment\u306eBacktrack\u306e\u3068\u304d\u306b\u3001\u6587\u5b57\u3092\u524d\u306b\u8ffd\u52a0\u3057\u306a\u3051\u308c\u3070\u306a\u3089\u306a\u3044\u304c\u3001\u5f53\u7136\u5f8c\u308d\u306b\u8ffd\u52a0\u3057\u3066\u6700\u5f8c\u306b\u6587\u5b57\u5217\u3092\u9006\u306b\u3059\u308b\u65b9\u304c\u901f\u3044\u3068\u601d\u3048\u308b\u3002\u3057\u304b\u3057\u3001\u3053\u306e\u3088\u3046\u306a\u30b3\u30fc\u30c9\u3067\u3001 import sys import time def f_add_to_head(N): s = '' for _ in range(N): s = 'c' + s return s def f_add_to_tail(N): s = '' for _ in range(N): s = s + 'c' return s[::-1] t0 = time.clock() N = int(sys.argv[1]) f_add_to\u2026","image_url":null,"type":"rich","provider_url":"https://hatena.blog","categories":["Python","PyPy"],"url":"https://inamori.hateblo.jp/entry/2019/08/31/224242","blog_url":"https://inamori.hateblo.jp/","height":"190","provider_name":"Hatena Blog","title":"Python\u3068PyPy\u3067\u6587\u5b57\u3092\u8ffd\u52a0\u3059\u308b\u901f\u5ea6\u304c\u5168\u7136\u9055\u3046","width":"100%","author_name":"inamori"}