{"url":"https://obelisk.hatenablog.com/entry/2016/04/21/034034","version":"1.0","description":"\u306a\u3093\u3068\u3001C\u62e1\u5f35\u3067\u30e2\u30f3\u30ad\u30fc\u30d1\u30c3\u30c1\u307e\u3067\u53ef\u80fd\u3060\u3068\u306f\uff01 \u3053\u3053\u304c\u53c2\u8003\u306b\u306a\u308a\u307e\u3057\u305f\u3002\u524d\u8a18\u4e8b\u306e C\u62e1\u5f35\u3092\u30aa\u30fc\u30d7\u30f3\u30af\u30e9\u30b9\u3067\u5b9f\u73fe\u3057\u307e\u3059\u3002Bundler \u3092\u4f7f\u3063\u3066\u3044\u307e\u3059\u3002\u30bd\u30fc\u30b9\u306f\u4ee5\u4e0b\u3002 #include \"utilsc.h\" long gcd(long x, long y) { long tmp; if (x < y) {tmp = x; x = y; y = tmp;} if (!y) return x; return gcd(y, x % y); } VALUE totient(VALUE self) { int a; long i, se; a = 0; se = FIX2LONG(self); for (\u2026","width":"100%","categories":["Gem","Ruby"],"image_url":null,"blog_url":"https://obelisk.hatenablog.com/","title":"Ruby \u306e C\u62e1\u5f35\u3067\u30e2\u30f3\u30ad\u30fc\u30d1\u30c3\u30c1\uff08\u30aa\u30fc\u30d7\u30f3\u30af\u30e9\u30b9\uff09","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fobelisk.hatenablog.com%2Fentry%2F2016%2F04%2F21%2F034034\" title=\"Ruby \u306e C\u62e1\u5f35\u3067\u30e2\u30f3\u30ad\u30fc\u30d1\u30c3\u30c1\uff08\u30aa\u30fc\u30d7\u30f3\u30af\u30e9\u30b9\uff09 - Camera Obscura\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","height":"190","author_name":"obelisk2","published":"2016-04-21 03:40:34","provider_name":"Hatena Blog","blog_title":"Camera Obscura","type":"rich","provider_url":"https://hatena.blog","author_url":"https://blog.hatena.ne.jp/obelisk2/"}