{"author_url":"https://blog.hatena.ne.jp/tomcha0079/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftomcha.hatenablog.jp%2Fentry%2F4502191\" title=\"Ruby\u3067\u30b3\u30fc\u30c9\u3092\u66f8\u3044\u3066\u307f\u305f\u301c\u5e8f\u306e3\u301c - Perl\u304c\u304f\u3057\u3085\u3046\u5e33(Ruby\u3082)\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","provider_name":"Hatena Blog","blog_url":"https://tomcha.hatenablog.jp/","categories":["ruby"],"type":"rich","title":"Ruby\u3067\u30b3\u30fc\u30c9\u3092\u66f8\u3044\u3066\u307f\u305f\u301c\u5e8f\u306e3\u301c","url":"https://tomcha.hatenablog.jp/entry/4502191","provider_url":"https://hatena.blog","height":"190","author_name":"tomcha0079","description":"\u30b5\u30af\u30b5\u30af\u884c\u304d\u307e\u3059\uff01\u304a\u984c\u306b\u30af\u30a4\u30ba\u5f62\u5f0f\u3067\u7b54\u3048\u3066\u30b3\u30fc\u30c9\u3092\u66f8\u3044\u3066\u3044\u304f\u306e\u306f\u697d\u3057\u3044\u3067\u3059\u306d\u3002\u4eca\u65e5\u306e\u304a\u984c\u306f\u3053\u3061\u3089\u3002Digit Number\u30d5\u30a1\u30a4\u30eb\u306e\u8aad\u307f\u8fbc\u307f\u3068\u3001\u8aad\u3093\u3060\u30c7\u30fc\u30bf\u306e\u51e6\u7406\u304c\u5473\u564c\u306a\u554f\u984c\u30021\u3064\u305a\u3064\u3001\u899a\u3048\u3066\u3044\u304d\u307e\u3059\u3002\u8aad\u307f\u8fbc\u3093\u3060\u6587\u5b57\u306e\u64cd\u4f5c\u3092\u8abf\u3079\u3064\u3064\u30b3\u30fc\u30c9\u3092\u66f8\u3044\u3066\u307f\u305f\u3002 file = open(\"number.txt\")while text = file.gets array = text.split(/\\s/) print(((array[0].to_i + array[1].to_i).to_s).length,\"\\n\")endfile.close number.txt\u306b\u30c7\u30fc\u30bf\u3092\u66f8\u304d\u3053\u3093\u3067\u30011\u884c\u8aad\u3093\u3067\u3001\u7a7a\u767d\u2026","published":"2012-03-12 23:16:03","image_url":null,"version":"1.0","blog_title":"Perl\u304c\u304f\u3057\u3085\u3046\u5e33(Ruby\u3082)","width":"100%"}