<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>unageanu</author_name>
  <author_url>https://blog.hatena.ne.jp/unageanu/</author_url>
  <blog_title>うなの日記</blog_title>
  <blog_url>https://unageanu.hatenablog.com/</blog_url>
  <categories>
    <anon>Ruby</anon>
  </categories>
  <description>ネタがないので、るびまゴルフに挑戦。 標準入力から一行ずつ受け取って、行番号とその行の単語数、文字数、行の内容を空白で区切って出力するプログラムを書いて下さい。 るびまゴルフ 【第 3 回】よりということで、1時間ほどがんばってみた結果は以下。 $&lt;.each{|l|puts&quot;#$. #{l.split.size} #{l.size-1} #{l}&quot;} 54byte。仕様は一応満たしているけど、パーには届かず。無念。「l.split.size」とか「l.size-1」を短くする方法が浮かばない。うーん、修行が足らんなー。</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Funageanu.hatenablog.com%2Fentry%2F20080407%2F1207582659&quot; title=&quot; るびまゴルフをやってみた。 - うなの日記&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2008-04-07 00:37:39</published>
  <title> るびまゴルフをやってみた。</title>
  <type>rich</type>
  <url>https://unageanu.hatenablog.com/entry/20080407/1207582659</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
