<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ymotongpoo</author_name>
  <author_url>https://blog.hatena.ne.jp/ymotongpoo/</author_url>
  <blog_title>YAMAGUCHI::weblog</blog_title>
  <blog_url>https://ymotongpoo.hatenablog.com/</blog_url>
  <categories>
    <anon>Scala</anon>
  </categories>
  <description>はじめに 社内Scala勉強会が発足し、ある方が「この問題を解きましょう」と言ったのでコードを書いてみた。 実行速度 Scalaっぽさ(?) が注目されてたっぽいので書いてみた。 問題 7110を含むフィボナッチ数列で、 初期値の組み合わせが一番小さいものをあげろ。 ※自然数に限る 解答 object Fibonacci { def main (args: Array[String]): Unit = { println( &quot;Fibonacci&quot; ) val result = solver(7110) println( result ) } def fib (p: Int, c: Int, n…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fymotongpoo.hatenablog.com%2Fentry%2F20100902%2F1283410104&quot; title=&quot; 変則Fibonacciの問題を解く - YAMAGUCHI::weblog&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>2010-09-02 15:48:24</published>
  <title> 変則Fibonacciの問題を解く</title>
  <type>rich</type>
  <url>https://ymotongpoo.hatenablog.com/entry/20100902/1283410104</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
