<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>sugarknri</author_name>
  <author_url>https://blog.hatena.ne.jp/sugarknri/</author_url>
  <blog_title>メモ</blog_title>
  <blog_url>https://sugarknri.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>問題はこちら No.280 歯車の問題(1) - yukicoder歯数ZaとZbの歯車があり、前者が|θa|回転したとき後者は|θb|=|θa|*Za/Zbだけ回転するとの事だったので、 Zbの歯車が更にZcの歯車と接している時、|θc|=|θb|*Zb/Zc=|θa|*Za/Zb*Zb/Zc=|θa|*Za/Zc ここから帰納的に、Z1,…,Znの歯車が並んでいる時最初の歯車の回転をθ1とすれば最後は|θn|=|θ1|*Z1/Znとなり、減速比は|θ1|/|θn|=Zn/Z1となる事がわかる。 出力は既約分数でなくて良いので、Z1とZnをそのまま出力すれば良い int main(){ in…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsugarknri.hatenablog.com%2Fentry%2F2016%2F05%2F23%2F022530&quot; title=&quot;yukicoder No.280 歯車の問題(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-05-23 02:25:30</published>
  <title>yukicoder No.280 歯車の問題(1)</title>
  <type>rich</type>
  <url>https://sugarknri.hatenablog.com/entry/2016/05/23/022530</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
