{"url":"https://mocomei.hatenablog.com/entry/2013/06/24/205013","published":"2013-06-24 20:50:13","description":"\u304a\u984c \u518d\u5e30\u547c\u3073\u51fa\u3057\u3092\u4f7f\u3063\u3066\u6700\u5927\u516c\u7d04\u6570\u3092\u6c42\u3081\u308b \u30bd\u30fc\u30b9 public class List5_4 { private static int gcd(int a, int b){ int i; for( i = a; i > 0; i--){ if( a % i == 0 && b % i ==0){ break; } } return i; } private static int multi_gcd(int n, int use){ // use = 2\uff08\u6570\u304c2\u3064\u3057\u304b\u306a\u3044\uff09\u306e\u5834\u5408\u306f\u3001gcd\u3092\u3088\u3073\u3060\u3059\u3060\u3051 int i; if( use == 2 ){ return gcd(n[0], n[1])\u2026","categories":[],"author_url":"https://blog.hatena.ne.jp/mocomei/","width":"100%","title":"20130624\u3010Java\u3011\u518d\u5e30\u547c\u3073\u51fa\u3057\u3092\u4f7f\u3063\u3066\u6700\u5927\u516c\u7d04\u6570\u3092\u6c42\u3081\u308b","provider_name":"Hatena Blog","height":"190","version":"1.0","image_url":null,"provider_url":"https://hatena.blog","type":"rich","blog_url":"https://mocomei.hatenablog.com/","author_name":"mocomei","blog_title":"365\u65e5\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u30d6\u30ed\u30b0","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmocomei.hatenablog.com%2Fentry%2F2013%2F06%2F24%2F205013\" title=\"20130624\u3010Java\u3011\u518d\u5e30\u547c\u3073\u51fa\u3057\u3092\u4f7f\u3063\u3066\u6700\u5927\u516c\u7d04\u6570\u3092\u6c42\u3081\u308b - 365\u65e5\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u30d6\u30ed\u30b0\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>"}