{"provider_name":"Hatena Blog","published":"2009-08-29 17:41:09","type":"rich","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmalibu-bulldog.hatenadiary.org%2Fentry%2F20090829%2F1251535269\" title=\"\u6f14\u7b97\u56de\u6570\u3092\u6570\u3048\u305f\u304f\u3066 - malibu-bulldog\u306e\u65e5\u8a18\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","height":"190","provider_url":"https://hatena.blog","version":"1.0","blog_title":"malibu-bulldog\u306e\u65e5\u8a18","blog_url":"https://malibu-bulldog.hatenadiary.org/","url":"https://malibu-bulldog.hatenadiary.org/entry/20090829/1251535269","author_name":"malibu-bulldog","categories":["Ruby","Program Technique"],"author_url":"https://blog.hatena.ne.jp/malibu-bulldog/","description":"FLOPS\u3092\u8abf\u3079\u305f\u304f\u306a\u308a\uff0cC++\u306e\u30bd\u30fc\u30b9\u4e2d\u3067\u4f55\u56de\u6f14\u7b97\u3092\u3057\u3066\u3044\u308b\u306e\u304b\u6570\u3048\u308b\u30d7\u30ed\u30b0\u30e9\u30e0\u3092Ruby\u3067\u3002 \u3068\u3044\u3063\u3066\u3082\u6574\u6570\u306b\u5bfe\u3057\u3066\u306a\u306e\u304b\u6d6e\u52d5\u5c0f\u6570\u70b9\u306b\u5bfe\u3057\u3066\u306a\u306e\u304b\u3092\u5224\u5225\u3059\u308b\u306e\u306f\u96e3\u3057\u305d\u3046\u306a\u306e\u3067\u65ad\u5ff5\u3057\u307e\u3057\u305f\u3002\u305d\u308c\u3068\u30dd\u30a4\u30f3\u30bf\u306e\u30a2\u30b9\u30bf\u30ea\u30b9\u30af\u306a\u306e\u304b\u306e\u5224\u5225\u3082\u65ad\u5ff5\u3002 \u305d\u3093\u306a\uff0c\u307e\u3041\u3078\u306a\u3061\u3087\u3053\u306a\u30d7\u30ed\u30b0\u30e9\u30e0\u3092Ruby\u3067\u66f8\u304d\u307e\u3057\u305f\u3002 #!/usr/bin/ruby begin $counter = 0 while line = gets $_.chomp! $_.gsub(/\\++|\\-+|\\*|\\//){|matched| p matched; $counter+=1} end p \"End counting operato\u2026","title":"\u6f14\u7b97\u56de\u6570\u3092\u6570\u3048\u305f\u304f\u3066","image_url":null,"width":"100%"}