{"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ffaithandbrave.hateblo.jp%2Fentry%2F2016%2F08%2F23%2F181620\" title=\"C++1z \u6700\u5927\u516c\u7d04\u6570\u3068\u6700\u5c0f\u516c\u500d\u6570 - Faith and Brave - C++\u3067\u904a\u307c\u3046\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","provider_url":"https://hatena.blog","version":"1.0","blog_url":"https://faithandbrave.hateblo.jp/","title":"C++1z \u6700\u5927\u516c\u7d04\u6570\u3068\u6700\u5c0f\u516c\u500d\u6570","url":"https://faithandbrave.hateblo.jp/entry/2016/08/23/181620","type":"rich","author_url":"https://blog.hatena.ne.jp/faith_and_brave/","image_url":null,"provider_name":"Hatena Blog","author_name":"faith_and_brave","published":"2016-08-23 18:16:20","blog_title":"Faith and Brave - C++\u3067\u904a\u307c\u3046","width":"100%","description":"C++1z\u304b\u3089\u30012\u3064\u306e\u5024\u306e\u6700\u5927\u516c\u7d04\u6570(Greatest common divisor)\u3092\u6c42\u3081\u308bgcd()\u95a2\u6570\u3068\u3001\u6700\u5c0f\u516c\u500d\u6570(Least common multiple)\u3092\u6c42\u3081\u308blcm()\u95a2\u6570\u304c\u5c0e\u5165\u3055\u308c\u307e\u3059\u3002 \u3053\u308c\u3089\u306e\u95a2\u6570\u306f\u3001<cmath>\u3067\u306f\u306a\u304f\u6570\u5024\u8a08\u7b97\u7528\u306eC++\u30d8\u30c3\u30c0<numeric>\u3067\u5b9a\u7fa9\u3055\u308c\u307e\u3059\u3002bool\u4ee5\u5916\u306e\u6574\u6570\u578b\u306a\u3089\u306a\u3093\u3067\u3082\u6271\u3048\u307e\u3059\u3002 #include <iostream> #include <numeric> int main() { int x = std::gcd(12, 18); int y = std::lcm(3, 5); std::cout << x << std::e\u2026","height":"190","categories":["C++"]}