<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>torazuka</author_name>
  <author_url>https://blog.hatena.ne.jp/torazuka/</author_url>
  <blog_title>虎塚</blog_title>
  <blog_url>https://torazuka.hatenablog.com/</blog_url>
  <categories>
    <anon>どう書く</anon>
  </categories>
  <description>来月はひさしぶりにどう書くに参加するので、リハビリに参考問題1を解きました。Rubyで。 問題: 勉強会 - 第一回 オフラインリアルタイムどう書くの参考問題 - Qiita #!/usr/bin/ruby def is_fourcards (cs) return cs.has_value?(4) end def is_threecards (cs) return cs.has_value?(3) end def cnt_pairs (cs) return cs.select {|k,v| v == 2}.length end input = ARGV[0] ws = input.gsub(/…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftorazuka.hatenablog.com%2Fentry%2F20160112%2Fdoukaku&quot; title=&quot;どう書く: 参考問題1「ポーカー」 - 虎塚&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>2016-01-12 00:00:00</published>
  <title>どう書く: 参考問題1「ポーカー」</title>
  <type>rich</type>
  <url>https://torazuka.hatenablog.com/entry/20160112/doukaku</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
