{"author_name":"yuheiomori0718","url":"https://y0m0r.hateblo.jp/entry/20121210/1355150893","version":"1.0","blog_title":"\u30e1\u30e2\u7f6e\u304d\u5834","title":"Python\u3067Best Cow Line","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fy0m0r.hateblo.jp%2Fentry%2F20121210%2F1355150893\" title=\"Python\u3067Best Cow Line - \u30e1\u30e2\u7f6e\u304d\u5834\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","image_url":null,"author_url":"https://blog.hatena.ne.jp/yuheiomori0718/","categories":["python"],"provider_url":"https://hatena.blog","height":"190","description":"N\u6587\u5b57\u306e\u6587\u5b57\u5217s\u304c\u4e0e\u3048\u3089\u308c\u3001N\u6587\u5b57\u306e\u6587\u5b57\u5217T\u3092\u4f5c\u308a\u307e\u3059\u3002\u306f\u3058\u3081\u306fT\u306f\u9577\u30550\u306e\u6587\u5b57\u5217\u3067\u6b21\u306e\u3044\u305a\u308c\u304b\u306e\u64cd\u4f5c\u304c\u884c\u3048\u307e\u3059\u3002 \u30fbS\u306e\u5148\u982d\u30921\u6587\u5b57\u524a\u9664\u3057\u3001T\u306e\u672b\u5c3e\u306b\u8ffd\u52a0\u3059\u308b \u30fbS\u306e\u672b\u5c3e\u30921\u6587\u5b57\u524a\u9664\u3057\u3001T\u306e\u672b\u5c3e\u306b\u8ffd\u52a0\u3059\u308b \u8f9e\u66f8\u9806\u6bd4\u8f03\u304c\u3067\u304d\u308b\u3060\u3051\u5c0f\u3055\u304f\u306a\u308b\u3088\u3046\u306bT\u3092\u4f5c\u3063\u3066\u304f\u3060\u3055\u3044\u3002 python\u3067\u66f8\u3044\u3066\u307f\u305f\u3089\u6587\u5b57\u5217\u306e\u30b9\u30e9\u30a4\u30b9\u3092\u591a\u7528\u3059\u308b\u7d50\u679c\u306b\u306a\u3063\u305f # coding=utf-8 def best_cow_line(s): T = [] while(s): if s <= s[::-1]: T.append(s[0]) s = s[1:] else: T.append(s[-1:]) s = s[:-1] ret\u2026","type":"rich","blog_url":"https://y0m0r.hateblo.jp/","width":"100%","provider_name":"Hatena Blog","published":"2012-12-10 23:48:13"}