<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>faith_and_brave</author_name>
  <author_url>https://blog.hatena.ne.jp/faith_and_brave/</author_url>
  <blog_title>Faith and Brave - C++で遊ぼう</blog_title>
  <blog_url>https://faithandbrave.hateblo.jp/</blog_url>
  <categories>
    <anon>C++</anon>
  </categories>
  <description>C++1zから、2つの値の最大公約数(Greatest common divisor)を求めるgcd()関数と、最小公倍数(Least common multiple)を求めるlcm()関数が導入されます。 これらの関数は、&lt;cmath&gt;ではなく数値計算用のC++ヘッダ&lt;numeric&gt;で定義されます。bool以外の整数型ならなんでも扱えます。 #include &lt;iostream&gt; #include &lt;numeric&gt; int main() { int x = std::gcd(12, 18); int y = std::lcm(3, 5); std::cout &lt;&lt; x &lt;&lt; std::e…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ffaithandbrave.hateblo.jp%2Fentry%2F2016%2F08%2F23%2F181620&quot; title=&quot;C++1z 最大公約数と最小公倍数 - Faith and Brave - C++で遊ぼう&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-08-23 18:16:20</published>
  <title>C++1z 最大公約数と最小公倍数</title>
  <type>rich</type>
  <url>https://faithandbrave.hateblo.jp/entry/2016/08/23/181620</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
