<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>m_buyoh</author_name>
  <author_url>https://blog.hatena.ne.jp/m_buyoh/</author_url>
  <blog_title>shonen.hateblo.jp</blog_title>
  <blog_url>https://shonen.hateblo.jp/</blog_url>
  <categories>
    <anon>Ruby</anon>
  </categories>
  <description>競技プログラミングで与えられる入力は半角スペース・改行の両方で区切られることが多い． そこで，半角スペース・改行で区切って値を拾ってくるEnumerableなクラスを書いた． class In include Enumerable def initialize(io) @io = io @buff = [] self end def shift return @buff.shift unless @buff.empty? return nil unless l = @io.take(1).first return (@buff = l.chomp.split).shift end def li…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fshonen.hateblo.jp%2Fentry%2F2019%2F03%2F08%2F225409&quot; title=&quot;標準入力からスペース区切りで値を拾うEnumerableな何か - shonen.hateblo.jp&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>2019-03-08 22:54:09</published>
  <title>標準入力からスペース区切りで値を拾うEnumerableな何か</title>
  <type>rich</type>
  <url>https://shonen.hateblo.jp/entry/2019/03/08/225409</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
