{"id":27294,"date":"2024-10-27T14:10:17","date_gmt":"2024-10-27T14:10:17","guid":{"rendered":"http:\/\/atmokpo.com\/w\/?p=27294"},"modified":"2024-11-26T07:19:52","modified_gmt":"2024-11-26T07:19:52","slug":"c-%ec%bd%94%eb%94%a9%ed%85%8c%ec%8a%a4%ed%8a%b8-%ea%b0%95%ec%a2%8c-%ed%99%95%ec%9e%a5-%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\/27294\/","title":{"rendered":"C# \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ud655\uc7a5 \uc720\ud074\ub9ac\ub4dc \ud638\uc81c\ubc95"},"content":{"rendered":"<p><body><\/p>\n<p>\uc548\ub155\ud558\uc138\uc694, \uc624\ub298\uc740 \ucf54\ub529\ud14c\uc2a4\ud2b8\uc5d0\uc11c \uc790\uc8fc \ub4f1\uc7a5\ud558\ub294 \uc54c\uace0\ub9ac\uc998 \uc911 \ud558\ub098\uc778 \ud655\uc7a5 \uc720\ud074\ub9ac\ub4dc \ud638\uc81c\ubc95\uc5d0 \ub300\ud574 \uc54c\uc544\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. \uc774 \uae00\uc5d0\uc11c\ub294 \ud655\uc7a5 \uc720\ud074\ub9ac\ub4dc \ud638\uc81c\ubc95\uc758 \uae30\ubcf8 \uc6d0\ub9ac, \uc774\ub97c \ud65c\uc6a9\ud55c \ubb38\uc81c\ub97c \uc0b4\ud3b4\ubcf4\uace0, C#\uc744 \uc0ac\uc6a9\ud558\uc5ec \ubb38\uc81c\ub97c \ud574\uacb0\ud558\ub294 \ubc29\ubc95\uc744 \ub2e4\ub8f0 \uac83\uc785\ub2c8\ub2e4.<\/p>\n<h2>1. \ud655\uc7a5 \uc720\ud074\ub9ac\ub4dc \ud638\uc81c\ubc95\uc774\ub780?<\/h2>\n<p>\ud655\uc7a5 \uc720\ud074\ub9ac\ub4dc \ud638\uc81c\ubc95(Extended Euclidean Algorithm)\uc740 \ub450 \uc815\uc218 a\uc640 b\uc5d0 \ub300\ud574 \ub2e4\uc74c \ub450 \uac00\uc9c0\ub97c \ucc3e\ub294 \uc54c\uace0\ub9ac\uc998\uc785\ub2c8\ub2e4:<\/p>\n<ol>\n<li>\ub450 \uc218 a\uc640 b\uc758 \ucd5c\ub300\uacf5\uc57d\uc218( gcd(a, b) )\ub97c \uad6c\ud569\ub2c8\ub2e4.<\/li>\n<li>\uadf8 \ucd5c\ub300\uacf5\uc57d\uc218\ub97c a\uc640 b\uc758 \ube44\uc728\uc5d0 \ud574\ub2f9\ud558\ub294 \uc815\uc218 x, y\ub97c \ucc3e\uc544\uc11c \ud45c\ud604\ud560 \uc218 \uc788\ub3c4\ub85d \ud569\ub2c8\ub2e4. \uc989, <code>gcd(a, b) = ax + by<\/code>\uc758 \ud615\ud0dc\ub85c \ub098\ud0c0\ub0bc \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/li>\n<\/ol>\n<p>\uc774 \uc54c\uace0\ub9ac\uc998\uc740 \uc8fc\ub85c \ubaa8\ub4c8\ub7ec \ud56d\ub4f1\uc2dd\uc774\ub098 \uc120\ud615 \ubc29\uc815\uc2dd\uc758 \ud574\ub97c \uad6c\ud558\ub294 \ub370 \uc0ac\uc6a9\ub429\ub2c8\ub2e4. \ud2b9\ud788, \uc554\ud638\ud559\uc5d0\uc11c \uc911\uc694\ud55c \uc5ed\ud560\uc744 \ud569\ub2c8\ub2e4.<\/p>\n<h2>2. \uc54c\uace0\ub9ac\uc998\uc758 \ud544\uc694\uc131<\/h2>\n<p>\uc720\ud074\ub9ac\ub4dc \ud638\uc81c\ubc95\uc758 \ud655\uc7a5\ud615\uc740 Euclidean algorithm\uc758 \ubcc0\ud615\uc774\uba70, \ub098\uba38\uc9c0 \uacc4\uc0b0\uc744 \ud1b5\ud574 \ub450 \uc218\uc758 \ucd5c\ub300\uacf5\uc57d\uc218\ub97c \uad6c\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \ud558\uc9c0\ub9cc \ub2e8\uc21c\ud788 \ucd5c\ub300\uacf5\uc57d\uc218\ub97c \ucc3e\ub294 \uac83\uc5d0 \uadf8\uce58\uc9c0 \uc54a\uace0, \ucd94\uac00\uc801\uc73c\ub85c \ub450 \uc218\ub97c \uc870\ud569\ud558\uc5ec \uadf8 \ucd5c\ub300\uacf5\uc57d\uc218\ub97c \ub3c4\ucd9c\ud560 \uc218 \uc788\ub2e4\ub294 \uc810\uc5d0\uc11c \uadf8 \uc720\uc6a9\uc131\uc774 \ube5b\ub0a9\ub2c8\ub2e4. \uc774 \uacfc\uc815\uc744 \ud1b5\ud574 \uc5bb\ub294 x\uc640 y\ub294 \ud2b9\uc815\ud55c \ubb38\uc81c\uc5d0\uc11c \ub9e4\uc6b0 \uc720\uc6a9\ud55c \ub3c4\uad6c\uac00 \ub420 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<h2>3. \uc54c\uace0\ub9ac\uc998\uc758 \uad6c\ud604<\/h2>\n<p>\uba3c\uc800, \ud655\uc7a5 \uc720\ud074\ub9ac\ub4dc \ud638\uc81c\ubc95\uc744 \uad6c\ud604\ud558\uae30 \uc704\ud55c \uae30\ubcf8\uc801\uc778 C# \ud568\uc218\ub97c \uc815\uc758\ud574 \ubcf4\uaca0\uc2b5\ub2c8\ub2e4. \uc774 \ud568\uc218\ub294 \ub450 \uac1c\uc758 \uc815\uc218 a\uc640 b\ub97c \uc778\uc790\ub85c \ubc1b\uc544, \ud574\ub2f9\ud558\ub294 \ucd5c\ub300\uacf5\uc57d\uc218\uc640 \ud568\uaed8 x\uc640 y\uc758 \uac12\uc744 \ubc18\ud658\ud569\ub2c8\ub2e4.<\/p>\n<pre><code>\nusing System;\n\nclass Program\n{\n    static void Main(string[] args)\n    {\n        int a = 252;\n        int b = 105;\n        \n        var result = ExtendedGCD(a, b);\n        Console.WriteLine($\"gcd: {result.Item1}, x: {result.Item2}, y: {result.Item3}\");\n    }\n\n    static (int, int, int) ExtendedGCD(int a, int b)\n    {\n        if (b == 0)\n        {\n            return (a, 1, 0);\n        }\n\n        var (gcd, x1, y1) = ExtendedGCD(b, a % b);\n        \n        int x = y1;\n        int y = x1 - (a \/ b) * y1;\n\n        return (gcd, x, y);\n    }\n}\n    <\/code><\/pre>\n<h3>3.1 \ucf54\ub4dc \uc124\uba85<\/h3>\n<p>\uc774 \ucf54\ub4dc\uc758 \uc8fc\uc694 \ubd80\ubd84\uc740 <code>ExtendedGCD<\/code>\ub77c\ub294 \ud568\uc218\ub97c \uad6c\ud604\ud558\ub294 \uac83\uc785\ub2c8\ub2e4. \uc774 \ud568\uc218\ub294 \uc7ac\uadc0\uc801\uc73c\ub85c \ud638\ucd9c\ub418\uc5b4 \ub450 \uc218\uc758 \ucd5c\ub300\uacf5\uc57d\uc218\ub97c \ucc3e\uc2b5\ub2c8\ub2e4:<\/p>\n<ul>\n<li>\uae30\uc800 \uc0ac\ub840\ub85c, b\uac00 0\uc77c \uacbd\uc6b0, gcd\ub294 a\uc774\uba70, x\ub294 1, y\ub294 0\uc744 \ubc18\ud658\ud569\ub2c8\ub2e4.<\/li>\n<li>\uadf8\ub807\uc9c0 \uc54a\uc740 \uacbd\uc6b0, a\uc640 b\ub97c \ud65c\uc6a9\ud558\uc5ec \uc7ac\uadc0\uc801\uc73c\ub85c \ud638\ucd9c\ud558\uace0, \ubc18\ud658\ub41c \uac12\uc744 \uc0ac\uc6a9\ud558\uc5ec \uc0c8\ub85c\uc6b4 x\uc640 y\ub97c \uacc4\uc0b0\ud569\ub2c8\ub2e4.<\/li>\n<\/ul>\n<h2>4. \uc608\uc81c \ubb38\uc81c: \ucd5c\ub300\uacf5\uc57d\uc218\uc640 \uacc4\uc218 \uad6c\ud558\uae30<\/h2>\n<p>\uc774\uc81c \ud655\uc7a5 \uc720\ud074\ub9ac\ub4dc \ud638\uc81c\ubc95\uc744 \ud65c\uc6a9\ud558\uc5ec \uad6c\uccb4\uc801\uc778 \ubb38\uc81c\ub97c \ud574\uacb0\ud574 \ubcf4\uaca0\uc2b5\ub2c8\ub2e4. \uc608\ub97c \ub4e4\uc5b4, \ub450 \uc815\uc218 a = 252\uc640 b = 105\ub97c \uac00\uc9c0\uace0 \uadf8\ub4e4\uc758 \ucd5c\ub300\uacf5\uc57d\uc218\uc640 \uacc4\uc218 x, y\ub97c \uad6c\ud558\uaca0\uc2b5\ub2c8\ub2e4.<\/p>\n<h3>4.1 \ubb38\uc81c \uc815\uc758<\/h3>\n<p>\uc8fc\uc5b4\uc9c4 \ub450 \uc218 a\uc640 b\uc5d0 \ub300\ud574, \ub2e4\uc74c\uc744 \uad6c\ud558\uc2dc\uc624:<\/p>\n<ul>\n<li>gcd(a, b)<\/li>\n<li>x, y\ub97c \ucc3e\uc544 <code>gcd(a, b) = ax + by<\/code>\ub97c \ub9cc\uc871\uc2dc\ud0a4\ub294 x\uc640 y\uc758 \uac12\uc744 \uad6c\ud558\uc2dc\uc624.<\/li>\n<\/ul>\n<h3>4.2 \ud480\uc774 \uacfc\uc815<\/h3>\n<p>\uc8fc\uc5b4\uc9c4 \ubb38\uc81c\uc5d0\uc11c a = 252, b = 105\ub97c \ub300\uc785\ud558\uc5ec, \ud655\uc7a5 \uc720\ud074\ub9ac\ub4dc \ud638\uc81c\ubc95\uc744 \uc801\uc6a9\ud55c\ub2e4. \uc544\ub798\ub294 \uadf8 \uacfc\uc815\uc785\ub2c8\ub2e4:<\/p>\n<ol>\n<li><code>ExtendedGCD(252, 105)<\/code> \ud638\ucd9c<\/li>\n<li>\uc5ec\uae30\uc11c <code>b = 105<\/code>, \uc7ac\uadc0\uc801\uc73c\ub85c <code>ExtendedGCD(105, 252 % 105)<\/code>\ub85c \ud638\ucd9c<\/li>\n<li>\uacc4\uc18d\ud574\uc11c <code>252 % 105 = 42<\/code>\ub85c \ubcc0\ud658\ub41c <code>ExtendedGCD(105, 42)<\/code>\ub85c \uc811\uadfc<\/li>\n<li>\uc774\uc81c <code>ExtendedGCD(42, 21)<\/code> \ud638\ucd9c<\/li>\n<li>\ub9c8\uc9c0\ub9c9\uc73c\ub85c <code>ExtendedGCD(21, 0)<\/code>\uc5d0 \ub3c4\ub2ec\ud558\uac8c \ub418\uba74, \ucd5c\ub300\uacf5\uc57d\uc218\uc778 21\uc744 \ubc18\ud658\ud558\uba70 x=1, y=0 \uc870\ud569\uc774 \ud568\uaed8 \uc804\ub2ec\ub429\ub2c8\ub2e4.<\/li>\n<\/ol>\n<p>\uc7ac\uadc0\uc758 \ubc18\ud658 \uacfc\uc815\uc5d0\uc11c x\uc640 y\uc758 \uac12\uc744 \ud558\ub098\uc529 \uc5c5\ub370\uc774\ud2b8\ud558\uba70, \ucd5c\uc885\uc801\uc73c\ub85c <code>gcd(252, 105) = 21<\/code>\uacfc \ud568\uaed8 x\uc640 y\uc758 \uac12\uc744 \ucc3e\uc744 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc774 \uac12\ub4e4\uc744 \ud65c\uc6a9\ud558\uc5ec \uc8fc\uc5b4\uc9c4 \uc218\uc758 \uc120\ud615 \uc870\ud569\uc73c\ub85c \ucd5c\ub300\uacf5\uc57d\uc218\ub97c \ud45c\ud604\ud569\ub2c8\ub2e4.<\/p>\n<h3>4.3 \uacb0\uacfc<\/h3>\n<p>\uc774 \uacfc\uc815\uc744 \ud1b5\ud574 \uc5bb\uc740 \uacb0\uacfc\ub294 \ub2e4\uc74c\uacfc \uac19\uc2b5\ub2c8\ub2e4:<\/p>\n<ul>\n<li>gcd(252, 105) = 21<\/li>\n<li>x = -1, y = 3\uc73c\ub85c, \uc989 <code>21 = 252 * (-1) + 105 * 3<\/code>\uc758 \ud615\ud0dc\ub85c \ud45c\ud604\ub420 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/li>\n<\/ul>\n<h2>5. \uc2e4\uc2b5\ubb38\uc81c<\/h2>\n<p>\uc5ec\uae30\uae4c\uc9c0 \ud655\uc7a5 \uc720\ud074\ub9ac\ub4dc \ud638\uc81c\ubc95\uc744 \uc774\ud574\ud558\uace0 \uad6c\ud604\ud558\ub294 \uacfc\uc815\uc744 \uc0b4\ud3b4\ubcf4\uc558\uc2b5\ub2c8\ub2e4. \ub2e4\uc74c \uc5f0\uc2b5 \ubb38\uc81c\ub97c \ud1b5\ud574 \uc5ec\ub7ec\ubd84\ub3c4 \uc9c1\uc811 \ud655\uc7a5 \uc720\ud074\ub9ac\ub4dc \ud638\uc81c\ubc95\uc744 \uad6c\ud604\ud574 \ubcf4\uc138\uc694.<\/p>\n<h3>\uc5f0\uc2b5 \ubb38\uc81c<\/h3>\n<p>\ub2e4\uc74c\uc758 \ub450 \uc815\uc218\uc5d0 \ub300\ud574 \ud655\uc7a5 \uc720\ud074\ub9ac\ub4dc \ud638\uc81c\ubc95\uc744 \uc774\uc6a9\ud558\uc5ec \ucd5c\ub300\uacf5\uc57d\uc218\uc640 \uadf8 \uacc4\uc218 x, y\ub97c \uad6c\ud574\ubcf4\uc138\uc694:<\/p>\n<ul>\n<li>a = 119, b = 544<\/li>\n<\/ul>\n<p>\uc5ec\ub7ec\ubd84\uc758 \ub2f5\uc548\uc744 \uc791\uc131\ud558\uace0, \uad6c\ud604\ud55c C# \ucf54\ub4dc\ub97c \ud1b5\ud574 \ud655\uc778\ud574 \ubcf4\uc138\uc694!<\/p>\n<h2>6. \uacb0\ub860<\/h2>\n<p>\uc624\ub298\uc740 \ud655\uc7a5 \uc720\ud074\ub9ac\ub4dc \ud638\uc81c\ubc95\uc5d0 \ub300\ud574 \uc54c\uc544\ubcf4\uc558\uc2b5\ub2c8\ub2e4. \uc774 \uc54c\uace0\ub9ac\uc998\uc740 \ud558\ub098 \uc774\uc0c1\uc758 \uc218\uc758 \ucd5c\ub300\uacf5\uc57d\uc218\ub97c \ucc3e\ub294 \ub370 \ub9e4\uc6b0 \uc720\uc6a9\ud558\uace0, \uadf8 \uacb0\uacfc\ub97c \uc120\ud615 \uc870\ud569\uc73c\ub85c \ub098\ud0c0\ub0bc \uc218 \uc788\uc5b4 \ub2e4\uc591\ud55c \uc218\ud559\uc801 \ubb38\uc81c\ub97c \ud478\ub294 \ub370\uc5d0 \ud65c\uc6a9\ub420 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc774\ub7ec\ud55c \uc9c0\uc2dd\uc740 \ucf54\ub529\ud14c\uc2a4\ud2b8\ubfd0\ub9cc \uc544\ub2c8\ub77c \uc2e4\uc81c \ud504\ub85c\uadf8\ub798\ubc0d\uc5d0\uc11c\ub3c4 \ub9e4\uc6b0 \uc911\uc694\ud569\ub2c8\ub2e4. \ub2e4\uc74c \uace0\uae09 \uc8fc\uc81c\ub85c \ub118\uc5b4\uac00\uae30 \uc804\uc5d0 \ud55c \ubc88 \ub354 \uc774 \uc54c\uace0\ub9ac\uc998\uc744 \ubcf5\uc2b5\ud558\uace0, \ub2e4\uc591\ud55c \ubb38\uc81c\ub97c \ud1b5\ud574 \uc5f0\uc2b5\ud574\ubcf4\uc2dc\uae38 \uad8c\uc7a5\ud569\ub2c8\ub2e4.<\/p>\n<p><\/body><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\uc548\ub155\ud558\uc138\uc694, \uc624\ub298\uc740 \ucf54\ub529\ud14c\uc2a4\ud2b8\uc5d0\uc11c \uc790\uc8fc \ub4f1\uc7a5\ud558\ub294 \uc54c\uace0\ub9ac\uc998 \uc911 \ud558\ub098\uc778 \ud655\uc7a5 \uc720\ud074\ub9ac\ub4dc \ud638\uc81c\ubc95\uc5d0 \ub300\ud574 \uc54c\uc544\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. \uc774 \uae00\uc5d0\uc11c\ub294 \ud655\uc7a5 \uc720\ud074\ub9ac\ub4dc \ud638\uc81c\ubc95\uc758 \uae30\ubcf8 \uc6d0\ub9ac, \uc774\ub97c \ud65c\uc6a9\ud55c \ubb38\uc81c\ub97c \uc0b4\ud3b4\ubcf4\uace0, C#\uc744 \uc0ac\uc6a9\ud558\uc5ec \ubb38\uc81c\ub97c \ud574\uacb0\ud558\ub294 \ubc29\ubc95\uc744 \ub2e4\ub8f0 \uac83\uc785\ub2c8\ub2e4. 1. \ud655\uc7a5 \uc720\ud074\ub9ac\ub4dc \ud638\uc81c\ubc95\uc774\ub780? \ud655\uc7a5 \uc720\ud074\ub9ac\ub4dc \ud638\uc81c\ubc95(Extended Euclidean Algorithm)\uc740 \ub450 \uc815\uc218 a\uc640 b\uc5d0 \ub300\ud574 \ub2e4\uc74c \ub450 \uac00\uc9c0\ub97c \ucc3e\ub294 \uc54c\uace0\ub9ac\uc998\uc785\ub2c8\ub2e4: \ub450 \uc218 a\uc640 b\uc758 \ucd5c\ub300\uacf5\uc57d\uc218( &hellip; <a href=\"https:\/\/atmokpo.com\/w\/27294\/\" class=\"more-link\">\ub354 \ubcf4\uae30<span class=\"screen-reader-text\"> &#8220;C# \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ud655\uc7a5 \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":[24],"tags":[],"class_list":["post-27294","post","type-post","status-publish","format-standard","hentry","category-c--"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>C# \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ud655\uc7a5 \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\/27294\/\" \/>\n<meta property=\"og:locale\" content=\"ko_KR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"C# \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ud655\uc7a5 \uc720\ud074\ub9ac\ub4dc \ud638\uc81c\ubc95 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"og:description\" content=\"\uc548\ub155\ud558\uc138\uc694, \uc624\ub298\uc740 \ucf54\ub529\ud14c\uc2a4\ud2b8\uc5d0\uc11c \uc790\uc8fc \ub4f1\uc7a5\ud558\ub294 \uc54c\uace0\ub9ac\uc998 \uc911 \ud558\ub098\uc778 \ud655\uc7a5 \uc720\ud074\ub9ac\ub4dc \ud638\uc81c\ubc95\uc5d0 \ub300\ud574 \uc54c\uc544\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. \uc774 \uae00\uc5d0\uc11c\ub294 \ud655\uc7a5 \uc720\ud074\ub9ac\ub4dc \ud638\uc81c\ubc95\uc758 \uae30\ubcf8 \uc6d0\ub9ac, \uc774\ub97c \ud65c\uc6a9\ud55c \ubb38\uc81c\ub97c \uc0b4\ud3b4\ubcf4\uace0, C#\uc744 \uc0ac\uc6a9\ud558\uc5ec \ubb38\uc81c\ub97c \ud574\uacb0\ud558\ub294 \ubc29\ubc95\uc744 \ub2e4\ub8f0 \uac83\uc785\ub2c8\ub2e4. 1. \ud655\uc7a5 \uc720\ud074\ub9ac\ub4dc \ud638\uc81c\ubc95\uc774\ub780? \ud655\uc7a5 \uc720\ud074\ub9ac\ub4dc \ud638\uc81c\ubc95(Extended Euclidean Algorithm)\uc740 \ub450 \uc815\uc218 a\uc640 b\uc5d0 \ub300\ud574 \ub2e4\uc74c \ub450 \uac00\uc9c0\ub97c \ucc3e\ub294 \uc54c\uace0\ub9ac\uc998\uc785\ub2c8\ub2e4: \ub450 \uc218 a\uc640 b\uc758 \ucd5c\ub300\uacf5\uc57d\uc218( &hellip; \ub354 \ubcf4\uae30 &quot;C# \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ud655\uc7a5 \uc720\ud074\ub9ac\ub4dc \ud638\uc81c\ubc95&quot;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/atmokpo.com\/w\/27294\/\" \/>\n<meta property=\"og:site_name\" content=\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"article:published_time\" content=\"2024-10-27T14:10:17+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-11-26T07:19:52+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\/27294\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/27294\/\"},\"author\":{\"name\":\"root\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7\"},\"headline\":\"C# \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ud655\uc7a5 \uc720\ud074\ub9ac\ub4dc \ud638\uc81c\ubc95\",\"datePublished\":\"2024-10-27T14:10:17+00:00\",\"dateModified\":\"2024-11-26T07:19:52+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/atmokpo.com\/w\/27294\/\"},\"wordCount\":64,\"publisher\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\"},\"articleSection\":[\"C# \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c\"],\"inLanguage\":\"ko-KR\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/atmokpo.com\/w\/27294\/\",\"url\":\"https:\/\/atmokpo.com\/w\/27294\/\",\"name\":\"C# \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ud655\uc7a5 \uc720\ud074\ub9ac\ub4dc \ud638\uc81c\ubc95 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#website\"},\"datePublished\":\"2024-10-27T14:10:17+00:00\",\"dateModified\":\"2024-11-26T07:19:52+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/atmokpo.com\/w\/27294\/#breadcrumb\"},\"inLanguage\":\"ko-KR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/atmokpo.com\/w\/27294\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/atmokpo.com\/w\/27294\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\ud648\",\"item\":\"https:\/\/atmokpo.com\/w\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"C# \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ud655\uc7a5 \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":"C# \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ud655\uc7a5 \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\/27294\/","og_locale":"ko_KR","og_type":"article","og_title":"C# \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ud655\uc7a5 \uc720\ud074\ub9ac\ub4dc \ud638\uc81c\ubc95 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","og_description":"\uc548\ub155\ud558\uc138\uc694, \uc624\ub298\uc740 \ucf54\ub529\ud14c\uc2a4\ud2b8\uc5d0\uc11c \uc790\uc8fc \ub4f1\uc7a5\ud558\ub294 \uc54c\uace0\ub9ac\uc998 \uc911 \ud558\ub098\uc778 \ud655\uc7a5 \uc720\ud074\ub9ac\ub4dc \ud638\uc81c\ubc95\uc5d0 \ub300\ud574 \uc54c\uc544\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. \uc774 \uae00\uc5d0\uc11c\ub294 \ud655\uc7a5 \uc720\ud074\ub9ac\ub4dc \ud638\uc81c\ubc95\uc758 \uae30\ubcf8 \uc6d0\ub9ac, \uc774\ub97c \ud65c\uc6a9\ud55c \ubb38\uc81c\ub97c \uc0b4\ud3b4\ubcf4\uace0, C#\uc744 \uc0ac\uc6a9\ud558\uc5ec \ubb38\uc81c\ub97c \ud574\uacb0\ud558\ub294 \ubc29\ubc95\uc744 \ub2e4\ub8f0 \uac83\uc785\ub2c8\ub2e4. 1. \ud655\uc7a5 \uc720\ud074\ub9ac\ub4dc \ud638\uc81c\ubc95\uc774\ub780? \ud655\uc7a5 \uc720\ud074\ub9ac\ub4dc \ud638\uc81c\ubc95(Extended Euclidean Algorithm)\uc740 \ub450 \uc815\uc218 a\uc640 b\uc5d0 \ub300\ud574 \ub2e4\uc74c \ub450 \uac00\uc9c0\ub97c \ucc3e\ub294 \uc54c\uace0\ub9ac\uc998\uc785\ub2c8\ub2e4: \ub450 \uc218 a\uc640 b\uc758 \ucd5c\ub300\uacf5\uc57d\uc218( &hellip; \ub354 \ubcf4\uae30 \"C# \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ud655\uc7a5 \uc720\ud074\ub9ac\ub4dc \ud638\uc81c\ubc95\"","og_url":"https:\/\/atmokpo.com\/w\/27294\/","og_site_name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","article_published_time":"2024-10-27T14:10:17+00:00","article_modified_time":"2024-11-26T07:19:52+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\/27294\/#article","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/27294\/"},"author":{"name":"root","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7"},"headline":"C# \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ud655\uc7a5 \uc720\ud074\ub9ac\ub4dc \ud638\uc81c\ubc95","datePublished":"2024-10-27T14:10:17+00:00","dateModified":"2024-11-26T07:19:52+00:00","mainEntityOfPage":{"@id":"https:\/\/atmokpo.com\/w\/27294\/"},"wordCount":64,"publisher":{"@id":"https:\/\/atmokpo.com\/w\/#organization"},"articleSection":["C# \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c"],"inLanguage":"ko-KR"},{"@type":"WebPage","@id":"https:\/\/atmokpo.com\/w\/27294\/","url":"https:\/\/atmokpo.com\/w\/27294\/","name":"C# \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ud655\uc7a5 \uc720\ud074\ub9ac\ub4dc \ud638\uc81c\ubc95 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/#website"},"datePublished":"2024-10-27T14:10:17+00:00","dateModified":"2024-11-26T07:19:52+00:00","breadcrumb":{"@id":"https:\/\/atmokpo.com\/w\/27294\/#breadcrumb"},"inLanguage":"ko-KR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/atmokpo.com\/w\/27294\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/atmokpo.com\/w\/27294\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\ud648","item":"https:\/\/atmokpo.com\/w\/en\/"},{"@type":"ListItem","position":2,"name":"C# \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ud655\uc7a5 \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\/27294","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=27294"}],"version-history":[{"count":1,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/27294\/revisions"}],"predecessor-version":[{"id":27295,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/27294\/revisions\/27295"}],"wp:attachment":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/media?parent=27294"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/categories?post=27294"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/tags?post=27294"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}