{"url":"https://inamori.hateblo.jp/entry/20091014/p1","width":"100%","provider_name":"Hatena Blog","title":"\u30e6\u30fc\u30af\u30ea\u30c3\u30c9\u306e\u4e92\u9664\u6cd5","provider_url":"https://hatena.blog","blog_url":"https://inamori.hateblo.jp/","image_url":null,"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Finamori.hateblo.jp%2Fentry%2F20091014%2Fp1\" title=\"\u30e6\u30fc\u30af\u30ea\u30c3\u30c9\u306e\u4e92\u9664\u6cd5 - inamori\u2019s diary\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","author_name":"inamori","version":"1.0","blog_title":"inamori\u2019s diary","categories":["PE","\u6570\u5b66","\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0"],"author_url":"https://blog.hatena.ne.jp/inamori/","description":"\u30e6\u30fc\u30af\u30ea\u30c3\u30c9\u306e\u4e92\u9664\u6cd5\uff08Euclidean algorithm\uff09\u306f\u3001\u6700\u5927\u516c\u7d04\u6570\u3092\u6c42\u3081\u308b\u305f\u3081\u306e\u30a2\u30eb\u30b4\u30ea\u30ba\u30e0\u3067\u3059\u3002 \u5272\u308a\u5207\u308c\u308b\u307e\u3067\u5272\u308a\u7b97\u3092\u7e70\u308a\u8fd4\u3057\u307e\u3059\u3002\u4f8b\u3048\u3070\u3001234\u3068177\u306e\u6700\u5927\u516c\u7d04\u6570\u3092\u6c42\u3081\u308b\u306b\u306f\u3001 234 \u00f7 177 = 1 \u4f59\u308a 57 177 \u00f7 57 = 3 \u4f59\u308a 6 57 \u00f7 6 = 9 \u4f59\u308a 3 6 \u00f7 3 = 2 \u4f59\u308a 0 \u3060\u304b\u3089\u3001\u6700\u5927\u516c\u7d04\u6570\u306f3\u3068\u306a\u308a\u307e\u3059\u3002 \u30b3\u30fc\u30c9\u306f\u3001\u518d\u5e30\u3092\u4f7f\u3063\u3066\u66f8\u304f\u3068\u7c21\u5358\u3067\u3059\u3002C\u3067\u66f8\u304f\u3068\u3001 #include int GCD_core(int a, int b) { int d = a % b; if(d == 0) return b; else return GCD\u2026","height":"190","type":"rich","published":"2009-10-14 00:00:01"}