<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>qnighy</author_name>
  <author_url>https://blog.hatena.ne.jp/qnighy/</author_url>
  <blog_title>簡潔なQ</blog_title>
  <blog_url>https://qnighy.hatenablog.com/</blog_url>
  <categories>
    <anon>100articles</anon>
    <anon>Programming</anon>
    <anon>TodaysJOI</anon>
  </categories>
  <description>RubyはJavaより遅かった。僕の好きなscanfがあったのは良かった。逆にprintfの書き心地はPythonのほうが上。PerlにせよRubyにせよ、なんでrange operatorは全開区間なのーーーー！？おかしいだろ常考！Pythonのxrangeは半開区間だぞーー！ #!/usr/bin/ruby require 'scanf' (n, ) = scanf(&quot;%d\n&quot;) sum_a = 0 sum_b = 0 (1..n).each do |i| (a, b) = scanf(&quot;%d %d\n&quot;) if a &gt; b then sum_a += a + b elsif a == …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fqnighy.hatenablog.com%2Fentry%2F20081022%2F1224679935&quot; title=&quot;JOI2006予選1 問題1＠Ruby(-53) - 簡潔なQ&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-10-22 21:52:15</published>
  <title>JOI2006予選1 問題1＠Ruby(-53)</title>
  <type>rich</type>
  <url>https://qnighy.hatenablog.com/entry/20081022/1224679935</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
