{"id":28258,"date":"2024-10-27T15:33:02","date_gmt":"2024-10-27T15:33:02","guid":{"rendered":"http:\/\/atmokpo.com\/w\/?p=28258"},"modified":"2024-11-26T07:05:27","modified_gmt":"2024-11-26T07:05:27","slug":"%ec%8a%a4%ec%9c%84%ed%94%84%ed%8a%b8-%ec%bd%94%eb%94%a9%ed%85%8c%ec%8a%a4%ed%8a%b8-%ea%b0%95%ec%a2%8c-%ec%9c%a0%ed%81%b4%eb%a6%ac%eb%93%9c-%ed%98%b8%ec%a0%9c%eb%b2%95","status":"publish","type":"post","link":"https:\/\/atmokpo.com\/w\/28258\/","title":{"rendered":"\uc2a4\uc704\ud504\ud2b8 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uc720\ud074\ub9ac\ub4dc \ud638\uc81c\ubc95"},"content":{"rendered":"<p><body><\/p>\n<h2>1. \uc720\ud074\ub9ac\ub4dc \ud638\uc81c\ubc95\uc774\ub780?<\/h2>\n<p>\n        \uc720\ud074\ub9ac\ub4dc \ud638\uc81c\ubc95(Euclidean Algorithm)\uc740 \ub450 \uc815\uc218\uc758 \ucd5c\ub300\uacf5\uc57d\uc218(GCD, Greatest Common Divisor)\ub97c \uacc4\uc0b0\ud558\ub294<br \/>\n        \ud6a8\uc728\uc801\uc778 \ubc29\ubc95\uc785\ub2c8\ub2e4. \uc774 \ubc29\ubc95\uc740 \uace0\ub300 \uadf8\ub9ac\uc2a4\uc758 \uc218\ud559\uc790 \uc720\ud074\ub9ac\ub4dc\uac00 \uadf8\uc758 \uc800\uc11c <em>\uc6d0\ub860<\/em>\uc5d0\uc11c \ucc98\uc74c\uc73c\ub85c \uc81c\uc2dc\ud55c \uc54c\uace0\ub9ac\uc998\uc785\ub2c8\ub2e4.<br \/>\n        \ub450 \uc815\uc218 a, b\uc758 \ucd5c\ub300\uacf5\uc57d\uc218\ub294 \ub2e4\uc74c\uacfc \uac19\uc740 \uc131\uc9c8\uc744 \uac16\uc2b5\ub2c8\ub2e4:\n    <\/p>\n<ul>\n<li>gcd(a, 0) = a<\/li>\n<li>gcd(a, b) = gcd(b, a mod b)<\/li>\n<\/ul>\n<p>\n        \uc774 \ub450 \uac00\uc9c0 \uc131\uc9c8\uc744 \uc774\uc6a9\ud558\uc5ec \ucd5c\ub300\uacf5\uc57d\uc218\ub97c \ubc18\ubcf5\uc801\uc73c\ub85c \uacc4\uc0b0\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc720\ud074\ub9ac\ub4dc \ud638\uc81c\ubc95\uc758 \uc2dc\uac04 \ubcf5\uc7a1\ub3c4\ub294<br \/>\n        <strong>O(log(min(a, b)))<\/strong>\ub85c \ub9e4\uc6b0 \ud6a8\uc728\uc801\uc785\ub2c8\ub2e4.\n    <\/p>\n<h2>2. \uc720\ud074\ub9ac\ub4dc \ud638\uc81c\ubc95\uc758 \uc608\uc2dc<\/h2>\n<p>\n        \ub450 \uc815\uc218 48\uacfc 18\uc758 \ucd5c\ub300\uacf5\uc57d\uc218\ub97c \uad6c\ud574\ubcf4\uaca0\uc2b5\ub2c8\ub2e4.\n    <\/p>\n<pre>\n        gcd(48, 18)\n        1. 48 mod 18 = 12\n        2. gcd(18, 12)\n        3. 18 mod 12 = 6\n        4. gcd(12, 6)\n        5. 12 mod 6 = 0\n        6. gcd(6, 0) = 6\n    <\/pre>\n<p>\ub530\ub77c\uc11c, 48\uacfc 18\uc758 \ucd5c\ub300\uacf5\uc57d\uc218\ub294 6\uc785\ub2c8\ub2e4.<\/p>\n<h2>3. \uc720\ud074\ub9ac\ub4dc \ud638\uc81c\ubc95\uc744 \ud65c\uc6a9\ud55c \ubb38\uc81c<\/h2>\n<h3>\ubb38\uc81c: \ub450 \uc218\uc758 \ucd5c\ub300\uacf5\uc57d\uc218 \uad6c\ud558\uae30<\/h3>\n<p>\n        \uc8fc\uc5b4\uc9c4 \ub450 \uc815\uc218 a, b\uc5d0 \ub300\ud574, \ub450 \uc218\uc758 \ucd5c\ub300\uacf5\uc57d\uc218\ub97c \uad6c\ud558\ub294 \ud568\uc218\ub97c<br \/>\n        \uc791\uc131\ud558\uc138\uc694. \uc2a4\uc704\ud504\ud2b8\ub97c \uc0ac\uc6a9\ud558\uc5ec \uad6c\ud604\ud574\ubd05\uc2dc\ub2e4.\n    <\/p>\n<h3>\ubb38\uc81c \uc870\uac74<\/h3>\n<ul>\n<li>0 &lt; a, b &lt; 2<sup>31<\/sup><\/li>\n<li>\ud568\uc218\uc758 \ubc18\ud658 \uac12\uc740 \ub450 \uc218\uc758 \ucd5c\ub300\uacf5\uc57d\uc218\uc785\ub2c8\ub2e4.<\/li>\n<\/ul>\n<h2>4. \ubb38\uc81c \ud574\uacb0 \uacfc\uc815<\/h2>\n<p>\n        \uc8fc\uc5b4\uc9c4 \ubb38\uc81c\ub97c \ud574\uacb0\ud558\uae30 \uc704\ud574 \uc2a4\uc704\ud504\ud2b8 \uc5b8\uc5b4\ub85c \uad6c\ud604\ud574\ubcf4\uaca0\uc2b5\ub2c8\ub2e4.<br \/>\n        \uba3c\uc800, \uc774 \ubb38\uc81c\ub97c \ud574\uacb0\ud558\uae30 \uc704\ud55c \ud568\uc218\uc758 \ud2c0\uc744 \uc815\uc758\ud558\uaca0\uc2b5\ub2c8\ub2e4.\n    <\/p>\n<pre>\n        func gcd(a: Int, b: Int) -&gt; Int {\n            \/\/ a\uc640 b\uac00 0\uc77c \uacbd\uc6b0 \ucd5c\ub300\uacf5\uc57d\uc218 \uacc4\uc0b0\n            if b == 0 {\n                return a\n            } else {\n                \/\/ \uc7ac\uadc0\ub97c \ud1b5\ud574 gcd \uacc4\uc0b0\n                return gcd(b, a % b)\n            }\n        }\n    <\/pre>\n<p>\n        \uc704\uc758 \ud568\uc218\ub97c \ud1b5\ud574 \ub450 \uc218 a\uc640 b\uc758 \ucd5c\ub300\uacf5\uc57d\uc218\ub97c \uad6c\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc5ec\uae30\uc11c a\ub294 \ub450 \uc218 \uc911 \ud558\ub098,<br \/>\n        b\ub294 \ub2e4\ub978 \uc218\uc774\uba70, \uc774 \ud568\uc218\ub294 b\uac00 0\uc774 \ub420 \ub54c\uae4c\uc9c0 \uc7ac\uadc0\uc801\uc73c\ub85c \ud638\ucd9c\ub429\ub2c8\ub2e4.<br \/>\n        b\uac00 0\uc774 \ub418\ub294 \uc21c\uac04, a\uac00 \ucd5c\ub300\uacf5\uc57d\uc218\ub85c \ubc18\ud658\ub429\ub2c8\ub2e4.\n    <\/p>\n<h3>4.1. \uc608\uc81c \ucf54\ub4dc<\/h3>\n<p>\n        \uc544\ub798\ub294 \uc720\ud074\ub9ac\ub4dc \ud638\uc81c\ubc95\uc744 \uc0ac\uc6a9\ud558\uc5ec \ucd5c\ub300\uacf5\uc57d\uc218\ub97c \uad6c\ud558\ub294 \uc804\uccb4 \ucf54\ub4dc\uc785\ub2c8\ub2e4.\n    <\/p>\n<pre>\n        func gcd(a: Int, b: Int) -&gt; Int {\n            if b == 0 {\n                return a\n            } else {\n                return gcd(b, a % b)\n            }\n        }\n\n        \/\/ \uc608\uc81c \uc2e4\ud589\n        let a = 48\n        let b = 18\n        let result = gcd(a: a, b: b)\n        print(\"\ucd5c\ub300\uacf5\uc57d\uc218: \\(result)\") \/\/ \uacb0\uacfc: \ucd5c\ub300\uacf5\uc57d\uc218: 6\n    <\/pre>\n<h2>5. \uc2a4\uc704\ud504\ud2b8\ub85c \uad6c\ud604\ud558\ub294 \uc720\ud074\ub9ac\ub4dc \ud638\uc81c\ubc95<\/h2>\n<p>\n        \ub2e4\uc74c\uc740 \uc720\ud074\ub9ac\ub4dc \ud638\uc81c\ubc95\uc744 \uc2a4\uc704\ud504\ud2b8\uc758 \ubc18\ubcf5\ubb38\uc73c\ub85c \uad6c\ud604\ud55c \uc608\uc81c\uc785\ub2c8\ub2e4.<br \/>\n        \ub54c\ub85c\ub294 \uc7ac\uadc0 \ud638\ucd9c\ubcf4\ub2e4\ub294 \ubc18\ubcf5\ubb38\uc744 \uc0ac\uc6a9\ud558\ub294 \uac83\uc774 \uba54\ubaa8\ub9ac \uc0ac\uc6a9 \uce21\uba74\uc5d0\uc11c \ub354 \ud6a8\uc728\uc801\uc77c \uc218 \uc788\uc2b5\ub2c8\ub2e4.\n    <\/p>\n<pre>\n        func gcdIterative(a: Int, b: Int) -&gt; Int {\n            var a = a\n            var b = b\n            while b != 0 {\n                let temp = b\n                b = a % b\n                a = temp\n            }\n            return a\n        }\n\n        \/\/ \uc608\uc81c \uc2e4\ud589\n        let resultIterative = gcdIterative(a: a, b: b)\n        print(\"\ubc18\ubcf5\ubb38\uc744 \ud1b5\ud55c \ucd5c\ub300\uacf5\uc57d\uc218: \\(resultIterative)\") \/\/ \uacb0\uacfc: \ubc18\ubcf5\ubb38\uc744 \ud1b5\ud55c \ucd5c\ub300\uacf5\uc57d\uc218: 6\n    <\/pre>\n<h3>5.1. \ub2e4\uc591\ud55c \uc0ac\ub840\ub85c \uc5f0\uc2b5\ud558\uae30<\/h3>\n<p>\n        \uc774 \ud568\uc218\ub4e4\uc744 \ub2e4\uc591\ud55c \uc815\uc218 \uc30d\uc5d0 \uc801\uc6a9\ud558\uc5ec \uc5f0\uc2b5\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<br \/>\n        \uc608\ub97c \ub4e4\uc5b4, 56\uacfc 98\uc758 \ucd5c\ub300\uacf5\uc57d\uc218, 101\uacfc 103\uc758 \ucd5c\ub300\uacf5\uc57d\uc218 \ub4f1 \uc5ec\ub7ec \uacbd\uc6b0\ub97c \uc2dc\ub3c4\ud574\ubcf4\uc138\uc694.\n    <\/p>\n<pre>\n        print(\"gcd(56, 98) = \\(gcd(56, 98))\") \/\/ \uacb0\uacfc: 14\n        print(\"gcd(101, 103) = \\(gcd(101, 103))\") \/\/ \uacb0\uacfc: 1\n    <\/pre>\n<h2>6. \uacb0\ub860<\/h2>\n<p>\n        \uc720\ud074\ub9ac\ub4dc \ud638\uc81c\ubc95\uc740 \ucd5c\ub300\uacf5\uc57d\uc218\ub97c \uad6c\ud558\ub294 \uac04\ub2e8\ud558\uc9c0\ub9cc \ub9e4\uc6b0 \ud6a8\uacfc\uc801\uc778 \uc54c\uace0\ub9ac\uc998\uc785\ub2c8\ub2e4.<br \/>\n        \uc2a4\uc704\ud504\ud2b8\uc5d0\uc11c \uc774\ub97c \uad6c\ud604\ud558\ub294 \ubc29\ubc95\uc744 \uc0b4\ud3b4\ubcf4\uc558\uc2b5\ub2c8\ub2e4. \ubc18\ubcf5\ubb38\uacfc \uc7ac\uadc0 \ub450 \uac00\uc9c0 \ubc29\ubc95\uc744 \ubaa8\ub450 \uc775\ud790 \uc218 \uc788\uc5c8\ub294\ub370\uc694,<br \/>\n        \ub54c\uc5d0 \ub530\ub77c \uc5b4\ub5a4 \ubc29\uc2dd\uc774 \ub354 \ud6a8\uc728\uc801\uc778\uc9c0 \uace0\ubbfc\ud574\ubcf4\ub294 \uac83\uc774 \uc88b\uc2b5\ub2c8\ub2e4.\n    <\/p>\n<p>\n        \uc774\ub7ec\ud55c \uc54c\uace0\ub9ac\uc998\uc740 \ub2e4\uc591\ud55c \ud504\ub85c\uadf8\ub798\ubc0d \ub300\ud68c\uc640 \ucf54\ub529 \ud14c\uc2a4\ud2b8\uc5d0\uc11c \uc790\uc8fc \ucd9c\uc81c\ub418\ubbc0\ub85c,<br \/>\n        \ucda9\ubd84\ud788 \uc5f0\uc2b5\ud558\uc5ec \uc775\uc219\ud574\uc9c0\ub294 \uac83\uc774 \uc911\uc694\ud569\ub2c8\ub2e4.<br \/>\n        \uc720\ud074\ub9ac\ub4dc \ud638\uc81c\ubc95\ubfd0\ub9cc \uc544\ub2c8\ub77c \uc5ec\ub7ec \uac00\uc9c0 \uc54c\uace0\ub9ac\uc998\uacfc \ubb38\uc81c \ud574\uacb0 \ubc29\ubc95\ub4e4\uc744 \uacf5\ubd80\ud574\ubcf4\uba70<br \/>\n        \ucf54\ub529 \uc2e4\ub825\uc744 \ub354\uc6b1 \ud5a5\uc0c1\uc2dc\ud0a4\uae38 \ubc14\ub78d\ub2c8\ub2e4. \uac10\uc0ac\ud569\ub2c8\ub2e4!\n    <\/p>\n<p><\/body><\/p>\n","protected":false},"excerpt":{"rendered":"<p>1. \uc720\ud074\ub9ac\ub4dc \ud638\uc81c\ubc95\uc774\ub780? \uc720\ud074\ub9ac\ub4dc \ud638\uc81c\ubc95(Euclidean Algorithm)\uc740 \ub450 \uc815\uc218\uc758 \ucd5c\ub300\uacf5\uc57d\uc218(GCD, Greatest Common Divisor)\ub97c \uacc4\uc0b0\ud558\ub294 \ud6a8\uc728\uc801\uc778 \ubc29\ubc95\uc785\ub2c8\ub2e4. \uc774 \ubc29\ubc95\uc740 \uace0\ub300 \uadf8\ub9ac\uc2a4\uc758 \uc218\ud559\uc790 \uc720\ud074\ub9ac\ub4dc\uac00 \uadf8\uc758 \uc800\uc11c \uc6d0\ub860\uc5d0\uc11c \ucc98\uc74c\uc73c\ub85c \uc81c\uc2dc\ud55c \uc54c\uace0\ub9ac\uc998\uc785\ub2c8\ub2e4. \ub450 \uc815\uc218 a, b\uc758 \ucd5c\ub300\uacf5\uc57d\uc218\ub294 \ub2e4\uc74c\uacfc \uac19\uc740 \uc131\uc9c8\uc744 \uac16\uc2b5\ub2c8\ub2e4: gcd(a, 0) = a gcd(a, b) = gcd(b, a mod b) \uc774 \ub450 \uac00\uc9c0 \uc131\uc9c8\uc744 \uc774\uc6a9\ud558\uc5ec \ucd5c\ub300\uacf5\uc57d\uc218\ub97c \ubc18\ubcf5\uc801\uc73c\ub85c \uacc4\uc0b0\ud560 &hellip; <a href=\"https:\/\/atmokpo.com\/w\/28258\/\" class=\"more-link\">\ub354 \ubcf4\uae30<span class=\"screen-reader-text\"> &#8220;\uc2a4\uc704\ud504\ud2b8 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uc720\ud074\ub9ac\ub4dc \ud638\uc81c\ubc95&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[27],"tags":[],"class_list":["post-28258","post","type-post","status-publish","format-standard","hentry","category-27"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\uc2a4\uc704\ud504\ud2b8 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uc720\ud074\ub9ac\ub4dc \ud638\uc81c\ubc95 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/atmokpo.com\/w\/28258\/\" \/>\n<meta property=\"og:locale\" content=\"ko_KR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\uc2a4\uc704\ud504\ud2b8 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uc720\ud074\ub9ac\ub4dc \ud638\uc81c\ubc95 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"og:description\" content=\"1. \uc720\ud074\ub9ac\ub4dc \ud638\uc81c\ubc95\uc774\ub780? \uc720\ud074\ub9ac\ub4dc \ud638\uc81c\ubc95(Euclidean Algorithm)\uc740 \ub450 \uc815\uc218\uc758 \ucd5c\ub300\uacf5\uc57d\uc218(GCD, Greatest Common Divisor)\ub97c \uacc4\uc0b0\ud558\ub294 \ud6a8\uc728\uc801\uc778 \ubc29\ubc95\uc785\ub2c8\ub2e4. \uc774 \ubc29\ubc95\uc740 \uace0\ub300 \uadf8\ub9ac\uc2a4\uc758 \uc218\ud559\uc790 \uc720\ud074\ub9ac\ub4dc\uac00 \uadf8\uc758 \uc800\uc11c \uc6d0\ub860\uc5d0\uc11c \ucc98\uc74c\uc73c\ub85c \uc81c\uc2dc\ud55c \uc54c\uace0\ub9ac\uc998\uc785\ub2c8\ub2e4. \ub450 \uc815\uc218 a, b\uc758 \ucd5c\ub300\uacf5\uc57d\uc218\ub294 \ub2e4\uc74c\uacfc \uac19\uc740 \uc131\uc9c8\uc744 \uac16\uc2b5\ub2c8\ub2e4: gcd(a, 0) = a gcd(a, b) = gcd(b, a mod b) \uc774 \ub450 \uac00\uc9c0 \uc131\uc9c8\uc744 \uc774\uc6a9\ud558\uc5ec \ucd5c\ub300\uacf5\uc57d\uc218\ub97c \ubc18\ubcf5\uc801\uc73c\ub85c \uacc4\uc0b0\ud560 &hellip; \ub354 \ubcf4\uae30 &quot;\uc2a4\uc704\ud504\ud2b8 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uc720\ud074\ub9ac\ub4dc \ud638\uc81c\ubc95&quot;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/atmokpo.com\/w\/28258\/\" \/>\n<meta property=\"og:site_name\" content=\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"article:published_time\" content=\"2024-10-27T15:33:02+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-11-26T07:05:27+00:00\" \/>\n<meta name=\"author\" content=\"root\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@bebubo4\" \/>\n<meta name=\"twitter:site\" content=\"@bebubo4\" \/>\n<meta name=\"twitter:label1\" content=\"\uae00\uc4f4\uc774\" \/>\n\t<meta name=\"twitter:data1\" content=\"root\" \/>\n\t<meta name=\"twitter:label2\" content=\"\uc608\uc0c1 \ub418\ub294 \ud310\ub3c5 \uc2dc\uac04\" \/>\n\t<meta name=\"twitter:data2\" content=\"1\ubd84\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/atmokpo.com\/w\/28258\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/28258\/\"},\"author\":{\"name\":\"root\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7\"},\"headline\":\"\uc2a4\uc704\ud504\ud2b8 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uc720\ud074\ub9ac\ub4dc \ud638\uc81c\ubc95\",\"datePublished\":\"2024-10-27T15:33:02+00:00\",\"dateModified\":\"2024-11-26T07:05:27+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/atmokpo.com\/w\/28258\/\"},\"wordCount\":37,\"publisher\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\"},\"articleSection\":[\"\uc2a4\uc704\ud504\ud2b8 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c\"],\"inLanguage\":\"ko-KR\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/atmokpo.com\/w\/28258\/\",\"url\":\"https:\/\/atmokpo.com\/w\/28258\/\",\"name\":\"\uc2a4\uc704\ud504\ud2b8 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uc720\ud074\ub9ac\ub4dc \ud638\uc81c\ubc95 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#website\"},\"datePublished\":\"2024-10-27T15:33:02+00:00\",\"dateModified\":\"2024-11-26T07:05:27+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/atmokpo.com\/w\/28258\/#breadcrumb\"},\"inLanguage\":\"ko-KR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/atmokpo.com\/w\/28258\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/atmokpo.com\/w\/28258\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\ud648\",\"item\":\"https:\/\/atmokpo.com\/w\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\uc2a4\uc704\ud504\ud2b8 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uc720\ud074\ub9ac\ub4dc \ud638\uc81c\ubc95\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/atmokpo.com\/w\/#website\",\"url\":\"https:\/\/atmokpo.com\/w\/\",\"name\":\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/atmokpo.com\/w\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ko-KR\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\",\"name\":\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"url\":\"https:\/\/atmokpo.com\/w\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ko-KR\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png\",\"contentUrl\":\"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png\",\"width\":400,\"height\":400,\"caption\":\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\"},\"image\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/x.com\/bebubo4\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7\",\"name\":\"root\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ko-KR\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g\",\"caption\":\"root\"},\"sameAs\":[\"http:\/\/atmokpo.com\/w\"],\"url\":\"https:\/\/atmokpo.com\/w\/author\/root\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\uc2a4\uc704\ud504\ud2b8 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uc720\ud074\ub9ac\ub4dc \ud638\uc81c\ubc95 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/atmokpo.com\/w\/28258\/","og_locale":"ko_KR","og_type":"article","og_title":"\uc2a4\uc704\ud504\ud2b8 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uc720\ud074\ub9ac\ub4dc \ud638\uc81c\ubc95 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","og_description":"1. \uc720\ud074\ub9ac\ub4dc \ud638\uc81c\ubc95\uc774\ub780? \uc720\ud074\ub9ac\ub4dc \ud638\uc81c\ubc95(Euclidean Algorithm)\uc740 \ub450 \uc815\uc218\uc758 \ucd5c\ub300\uacf5\uc57d\uc218(GCD, Greatest Common Divisor)\ub97c \uacc4\uc0b0\ud558\ub294 \ud6a8\uc728\uc801\uc778 \ubc29\ubc95\uc785\ub2c8\ub2e4. \uc774 \ubc29\ubc95\uc740 \uace0\ub300 \uadf8\ub9ac\uc2a4\uc758 \uc218\ud559\uc790 \uc720\ud074\ub9ac\ub4dc\uac00 \uadf8\uc758 \uc800\uc11c \uc6d0\ub860\uc5d0\uc11c \ucc98\uc74c\uc73c\ub85c \uc81c\uc2dc\ud55c \uc54c\uace0\ub9ac\uc998\uc785\ub2c8\ub2e4. \ub450 \uc815\uc218 a, b\uc758 \ucd5c\ub300\uacf5\uc57d\uc218\ub294 \ub2e4\uc74c\uacfc \uac19\uc740 \uc131\uc9c8\uc744 \uac16\uc2b5\ub2c8\ub2e4: gcd(a, 0) = a gcd(a, b) = gcd(b, a mod b) \uc774 \ub450 \uac00\uc9c0 \uc131\uc9c8\uc744 \uc774\uc6a9\ud558\uc5ec \ucd5c\ub300\uacf5\uc57d\uc218\ub97c \ubc18\ubcf5\uc801\uc73c\ub85c \uacc4\uc0b0\ud560 &hellip; \ub354 \ubcf4\uae30 \"\uc2a4\uc704\ud504\ud2b8 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uc720\ud074\ub9ac\ub4dc \ud638\uc81c\ubc95\"","og_url":"https:\/\/atmokpo.com\/w\/28258\/","og_site_name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","article_published_time":"2024-10-27T15:33:02+00:00","article_modified_time":"2024-11-26T07:05:27+00:00","author":"root","twitter_card":"summary_large_image","twitter_creator":"@bebubo4","twitter_site":"@bebubo4","twitter_misc":{"\uae00\uc4f4\uc774":"root","\uc608\uc0c1 \ub418\ub294 \ud310\ub3c5 \uc2dc\uac04":"1\ubd84"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/atmokpo.com\/w\/28258\/#article","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/28258\/"},"author":{"name":"root","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7"},"headline":"\uc2a4\uc704\ud504\ud2b8 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uc720\ud074\ub9ac\ub4dc \ud638\uc81c\ubc95","datePublished":"2024-10-27T15:33:02+00:00","dateModified":"2024-11-26T07:05:27+00:00","mainEntityOfPage":{"@id":"https:\/\/atmokpo.com\/w\/28258\/"},"wordCount":37,"publisher":{"@id":"https:\/\/atmokpo.com\/w\/#organization"},"articleSection":["\uc2a4\uc704\ud504\ud2b8 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c"],"inLanguage":"ko-KR"},{"@type":"WebPage","@id":"https:\/\/atmokpo.com\/w\/28258\/","url":"https:\/\/atmokpo.com\/w\/28258\/","name":"\uc2a4\uc704\ud504\ud2b8 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uc720\ud074\ub9ac\ub4dc \ud638\uc81c\ubc95 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/#website"},"datePublished":"2024-10-27T15:33:02+00:00","dateModified":"2024-11-26T07:05:27+00:00","breadcrumb":{"@id":"https:\/\/atmokpo.com\/w\/28258\/#breadcrumb"},"inLanguage":"ko-KR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/atmokpo.com\/w\/28258\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/atmokpo.com\/w\/28258\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\ud648","item":"https:\/\/atmokpo.com\/w\/en\/"},{"@type":"ListItem","position":2,"name":"\uc2a4\uc704\ud504\ud2b8 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uc720\ud074\ub9ac\ub4dc \ud638\uc81c\ubc95"}]},{"@type":"WebSite","@id":"https:\/\/atmokpo.com\/w\/#website","url":"https:\/\/atmokpo.com\/w\/","name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","description":"","publisher":{"@id":"https:\/\/atmokpo.com\/w\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/atmokpo.com\/w\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ko-KR"},{"@type":"Organization","@id":"https:\/\/atmokpo.com\/w\/#organization","name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","url":"https:\/\/atmokpo.com\/w\/","logo":{"@type":"ImageObject","inLanguage":"ko-KR","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/","url":"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png","contentUrl":"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png","width":400,"height":400,"caption":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8"},"image":{"@id":"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/x.com\/bebubo4"]},{"@type":"Person","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7","name":"root","image":{"@type":"ImageObject","inLanguage":"ko-KR","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g","caption":"root"},"sameAs":["http:\/\/atmokpo.com\/w"],"url":"https:\/\/atmokpo.com\/w\/author\/root\/"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/28258","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/comments?post=28258"}],"version-history":[{"count":1,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/28258\/revisions"}],"predecessor-version":[{"id":28259,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/28258\/revisions\/28259"}],"wp:attachment":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/media?parent=28258"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/categories?post=28258"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/tags?post=28258"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}