<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>tmicha</author_name>
  <author_url>https://blog.hatena.ne.jp/tmicha/</author_url>
  <blog_title>技術ブログっぽいなにか</blog_title>
  <blog_url>https://tmicha.hateblo.jp/</blog_url>
  <categories>
  </categories>
  <description>あるサイトの、Rubyの練習問題を解きました。 正解率90％超えの問題を選んだんだけど、まあまあ難しかった気がします。 2つの数字が入力されるので、それぞれを3乗した数字の差を求めなさいという問題。 自分の書いたコード↓ input_lines = gets r = input_lines.split(&quot;\s&quot;) r_1 = r[0].to_i r_2 = r[1].to_i puts (r_1 ** 3) - (r_2 ** 3) まずinput_lines = getsで入力されたものを変数に入れる。 input_linesはStringなので、.splitで指定した文字ごとに区切って配列…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftmicha.hateblo.jp%2Fentry%2F2017%2F07%2F27%2F183057&quot; title=&quot;Rubyの練習問題を解いた話【累乗】 - 技術ブログっぽいなにか&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>2017-07-27 18:30:57</published>
  <title>Rubyの練習問題を解いた話【累乗】</title>
  <type>rich</type>
  <url>https://tmicha.hateblo.jp/entry/2017/07/27/183057</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
