{"id":27320,"date":"2024-10-27T14:10:28","date_gmt":"2024-10-27T14:10:28","guid":{"rendered":"http:\/\/atmokpo.com\/w\/?p=27320"},"modified":"2024-11-26T07:19:39","modified_gmt":"2024-11-26T07:19:39","slug":"c-%ec%bd%94%eb%94%a9%ed%85%8c%ec%8a%a4%ed%8a%b8-%ea%b0%95%ec%a2%8c-%ec%b5%9c%ec%86%8c-%ea%b3%b5%eb%b0%b0%ec%88%98-%ea%b5%ac%ed%95%98%ea%b8%b0","status":"publish","type":"post","link":"https:\/\/atmokpo.com\/w\/27320\/","title":{"rendered":"C# \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ucd5c\uc18c \uacf5\ubc30\uc218 \uad6c\ud558\uae30"},"content":{"rendered":"<p><body><\/p>\n<p>\uc774\ubc88 \uac15\uc88c\uc5d0\uc11c\ub294 \ucf54\ub529 \ud14c\uc2a4\ud2b8\uc5d0\uc11c \uc790\uc8fc \ucd9c\uc81c\ub418\ub294 &#8220;\ucd5c\uc18c \uacf5\ubc30\uc218(Lowest Common Multiple, LCM)&#8221; \ubb38\uc81c\ub97c \ud574\uacb0\ud558\ub294 \ubc29\ubc95\uc5d0 \ub300\ud574 \uc54c\uc544\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. \ucd5c\uc18c \uacf5\ubc30\uc218\ub294 \ub450 \uac1c \uc774\uc0c1\uc758 \uc218\ub4e4\uc5d0\uc11c \uacf5\ud1b5\uc801\uc73c\ub85c \ub098\ub204\uc5b4 \ub5a8\uc5b4\uc9c0\ub294 \uac00\uc7a5 \uc791\uc740 \uc591\uc758 \uc815\uc218\ub97c \uc758\ubbf8\ud569\ub2c8\ub2e4. \uc774 \uac1c\ub150\uc740 \uc218\ud559\uc801\uc73c\ub85c \uc911\uc694\ud55c \uc131\uc9c8\uc744 \uac00\uc9c0\uba70, \uc54c\uace0\ub9ac\uc998\uc801 \ubb38\uc81c \ud574\uacb0\uc5d0\uc11c\ub3c4 \uc790\uc8fc \uc0ac\uc6a9\ub429\ub2c8\ub2e4.<\/p>\n<h2>\ubb38\uc81c \uc124\uba85<\/h2>\n<p>\uc8fc\uc5b4\uc9c4 \ub450 \uc591\uc758 \uc815\uc218 A\uc640 B\uc5d0 \ub300\ud574, A\uc640 B\uc758 \ucd5c\uc18c \uacf5\ubc30\uc218\ub97c \uad6c\ud558\ub294 \ud504\ub85c\uadf8\ub7a8\uc744 \uc791\uc131\ud558\uc2dc\uc624.<\/p>\n<div class=\"example\">\n<strong>\uc608\uc81c:<\/strong><br \/>\n<code>A = 12, B = 15<\/code><br \/>\n<strong>\ucd9c\ub825:<\/strong> 60 (12\uc640 15\uc758 \ucd5c\uc18c \uacf5\ubc30\uc218)\n    <\/div>\n<h2>\ubb38\uc81c \ud574\uacb0 \uacfc\uc815<\/h2>\n<p>\ubb38\uc81c\ub97c \ud574\uacb0\ud558\uae30 \uc704\ud574\uc11c\ub294 \ucd5c\uc18c \uacf5\ubc30\uc218\ub97c \uad6c\ud558\ub294 \ubc29\ubc95\uc744 \uc774\ud574\ud574\uc57c \ud569\ub2c8\ub2e4. \uc77c\ubc18\uc801\uc73c\ub85c \ucd5c\uc18c \uacf5\ubc30\uc218\ub294 \ucd5c\ub300 \uacf5\uc57d\uc218(Greatest Common Divisor, GCD)\ub97c \uc774\uc6a9\ud558\uc5ec \uad6c\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \ub450 \uc218 A\uc640 B\uc758 \ucd5c\uc18c \uacf5\ubc30\uc218\ub294 \ub2e4\uc74c\uacfc \uac19\uc774 \ud45c\ud604\ub429\ub2c8\ub2e4:<\/p>\n<pre><code>LCM(A, B) = (A * B) \/ GCD(A, B)<\/code><\/pre>\n<p>\uc774\ub97c \ud1b5\ud574 \ucd5c\uc18c \uacf5\ubc30\uc218\ub97c \uad6c\ud558\uae30 \uc704\ud574\uc11c\ub294 \ub450 \uc218\uc758 \uacf1\uc744 \ucd5c\ub300 \uacf5\uc57d\uc218\ub85c \ub098\ub204\uc5b4 \uc8fc\uba74 \ub429\ub2c8\ub2e4. \uc774\uc81c C#\uc73c\ub85c \uc774 \uc54c\uace0\ub9ac\uc998\uc744 \uad6c\ud604\ud574 \ubcf4\uaca0\uc2b5\ub2c8\ub2e4.<\/p>\n<h3>\ucd5c\ub300 \uacf5\uc57d\uc218 \uad6c\ud558\uae30<\/h3>\n<p>\ucd5c\ub300 \uacf5\uc57d\uc218\ub294 \uc720\ud074\ub9ac\ub4dc \ud638\uc81c\ubc95\uc744 \uc0ac\uc6a9\ud558\uc5ec \uc27d\uac8c \uad6c\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc720\ud074\ub9ac\ub4dc \ud638\uc81c\ubc95\uc758 \uae30\ubcf8 \uc6d0\ub9ac\ub294 \ub2e4\uc74c\uacfc \uac19\uc2b5\ub2c8\ub2e4:<\/p>\n<pre><code>GCD(A, B) = GCD(B, A % B) (B\uac00 0\uc774 \ub420 \ub54c\uae4c\uc9c0 \ubc18\ubcf5)<\/code><\/pre>\n<p>\uc774\uc81c \uc774\ub97c C#\uc73c\ub85c \uad6c\ud604\ud574 \ubcf4\uaca0\uc2b5\ub2c8\ub2e4.<\/p>\n<h3>C# \ucf54\ub4dc \uad6c\ud604<\/h3>\n<pre><code>\nusing System;\n\nclass Program\n{\n    \/\/ \ucd5c\ub300 \uacf5\uc57d\uc218\ub97c \uad6c\ud558\ub294 \uba54\uc11c\ub4dc\n    static int GCD(int a, int b)\n    {\n        while (b != 0)\n        {\n            int temp = b;\n            b = a % b;\n            a = temp;\n        }\n        return a;\n    }\n\n    \/\/ \ucd5c\uc18c \uacf5\ubc30\uc218\ub97c \uad6c\ud558\ub294 \uba54\uc11c\ub4dc\n    static int LCM(int a, int b)\n    {\n        return (a * b) \/ GCD(a, b);\n    }\n\n    static void Main(string[] args)\n    {\n        Console.Write(\"\uccab \ubc88\uc9f8 \uc815\uc218\ub97c \uc785\ub825\ud558\uc138\uc694: \");\n        int a = int.Parse(Console.ReadLine());\n        \n        Console.Write(\"\ub450 \ubc88\uc9f8 \uc815\uc218\ub97c \uc785\ub825\ud558\uc138\uc694: \");\n        int b = int.Parse(Console.ReadLine());\n\n        Console.WriteLine($\"\ucd5c\uc18c \uacf5\ubc30\uc218\ub294: {LCM(a, b)}\uc785\ub2c8\ub2e4.\");\n    }\n}\n    <\/code><\/pre>\n<p>\uc704 \ucf54\ub4dc\ub294 \uc0ac\uc6a9\uc790\uac00 \uc785\ub825\ud55c \ub450 \uc815\uc218\uc758 \ucd5c\uc18c \uacf5\ubc30\uc218\ub97c \uacc4\uc0b0\ud558\uc5ec \ucd9c\ub825\ud569\ub2c8\ub2e4. <code>GCD<\/code> \uba54\uc11c\ub4dc\ub294 \ucd5c\ub300 \uacf5\uc57d\uc218\ub97c \uacc4\uc0b0\ud558\uace0, <code>LCM<\/code> \uba54\uc11c\ub4dc\ub294 \ucd5c\uc18c \uacf5\ubc30\uc218\ub97c \uacc4\uc0b0\ud558\ub294 \uc5ed\ud560\uc744 \uc218\ud589\ud569\ub2c8\ub2e4.<\/p>\n<h2>\ucf54\ub4dc \uc124\uba85<\/h2>\n<h3>1. \ucd5c\ub300 \uacf5\uc57d\uc218 \uba54\uc11c\ub4dc<\/h3>\n<p><code>GCD(int a, int b)<\/code> \uba54\uc11c\ub4dc\ub294 \ub450 \uc815\uc218 a\uc640 b\ub97c \uc778\uc790\ub85c \ubc1b\uc544 \ucd5c\ub300 \uacf5\uc57d\uc218\ub97c \ubc18\ud658\ud569\ub2c8\ub2e4. while \ub8e8\ud504\ub97c \uc774\uc6a9\ud574 b\uac00 0\uc774 \uc544\ub2d0 \ub54c\uae4c\uc9c0 \ubc18\ubcf5\ud558\uba70, a\uc640 b\uc758 \uac12\uc744 \uc5c5\ub370\uc774\ud2b8\ud569\ub2c8\ub2e4. \uc774\ub97c \ud1b5\ud574 \uc720\ud074\ub9ac\ub4dc \ud638\uc81c\ubc95\uc744 \uad6c\ud604\ud558\uc600\uc2b5\ub2c8\ub2e4.<\/p>\n<h3>2. \ucd5c\uc18c \uacf5\ubc30\uc218 \uba54\uc11c\ub4dc<\/h3>\n<p><code>LCM(int a, int b)<\/code> \uba54\uc11c\ub4dc\ub294 \ucd5c\uc18c \uacf5\ubc30\uc218\ub97c \uad6c\ud558\uae30 \uc704\ud574 \ub450 \uc218\uc758 \uacf1\uc744 \ucd5c\ub300 \uacf5\uc57d\uc218\ub85c \ub098\ub204\uace0 \uacb0\uacfc\ub97c \ubc18\ud658\ud569\ub2c8\ub2e4. \uc774 \uacfc\uc815\uc5d0\uc11c \uc815\uc218 \uc624\ubc84\ud50c\ub85c\uc6b0\ub97c \ubc29\uc9c0\ud558\uae30 \uc704\ud574 \uc21c\uc11c\ub97c \uc798 \uace0\ub824\ud574\uc57c \ud569\ub2c8\ub2e4.<\/p>\n<h3>3. Main \uba54\uc11c\ub4dc<\/h3>\n<p><code>Main<\/code> \uba54\uc11c\ub4dc\uc5d0\uc11c\ub294 \uc0ac\uc6a9\uc790\ub85c\ubd80\ud130 \ub450 \uac1c\uc758 \uc815\uc218\ub97c \uc785\ub825\ubc1b\uace0, \uc774\ub97c \uc774\uc6a9\ud558\uc5ec <code>LCM<\/code> \uba54\uc11c\ub4dc\ub97c \ud1b5\ud574 \uacb0\uacfc\ub97c \ucd9c\ub825\ud569\ub2c8\ub2e4. <code>Console.ReadLine()<\/code>\uc744 \ud1b5\ud574 \uc785\ub825\uac12\uc744 \ubc1b\uace0, <code>int.Parse()<\/code>\ub85c \uc815\uc218\ud615\uc73c\ub85c \ubcc0\ud658\ud569\ub2c8\ub2e4.<\/p>\n<h2>\ud14c\uc2a4\ud2b8\uc640 \uc608\uc678 \ucc98\ub9ac<\/h2>\n<p>\uc774\ubc88 \uac15\uc88c\uc5d0\uc11c \uad6c\ud604\ud55c \ucd5c\uc18c \uacf5\ubc30\uc218 \ud504\ub85c\uadf8\ub7a8\uc740 \uac04\ub2e8\ud558\uc9c0\ub9cc, \uba87 \uac00\uc9c0 \uc608\uc678 \uc0c1\ud669\uc744 \uace0\ub824\ud574\uc57c \ud560 \ud544\uc694\uac00 \uc788\uc2b5\ub2c8\ub2e4. \uc608\ub97c \ub4e4\uc5b4 \uc0ac\uc6a9\uc790\uac00 0\uc774\ub098 \uc74c\uc758 \uc815\uc218\ub97c \uc785\ub825\ud558\ub294 \uacbd\uc6b0, \uc774\ub7ec\ud55c \uc785\ub825\uc744 \ucc98\ub9ac\ud560 \uc218 \uc788\ub294 \ubc29\ubc95\uc744 \uace0\ub824\ud574\uc57c \ud569\ub2c8\ub2e4. \uc774\ub97c \uc704\ud574 \ub2e4\uc74c\uacfc \uac19\uc740 \uc608\uc678 \ucc98\ub9ac\ub97c \ucd94\uac00\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4:<\/p>\n<pre><code>\nstatic void Main(string[] args)\n{\n    try\n    {\n        Console.Write(\"\uccab \ubc88\uc9f8 \uc815\uc218\ub97c \uc785\ub825\ud558\uc138\uc694: \");\n        int a = int.Parse(Console.ReadLine());\n        if (a &lt;= 0) throw new ArgumentException(\"\uc591\uc758 \uc815\uc218\ub97c \uc785\ub825\ud574\uc57c \ud569\ub2c8\ub2e4.\");\n\n        Console.Write(\"\ub450 \ubc88\uc9f8 \uc815\uc218\ub97c \uc785\ub825\ud558\uc138\uc694: \");\n        int b = int.Parse(Console.ReadLine());\n        if (b &lt;= 0) throw new ArgumentException(\"\uc591\uc758 \uc815\uc218\ub97c \uc785\ub825\ud574\uc57c \ud569\ub2c8\ub2e4.\");\n\n        Console.WriteLine($\"\ucd5c\uc18c \uacf5\ubc30\uc218\ub294: {LCM(a, b)}\uc785\ub2c8\ub2e4.\");\n    }\n    catch (FormatException)\n    {\n        Console.WriteLine(\"\uc798\ubabb\ub41c \uc785\ub825\uc785\ub2c8\ub2e4. \uc815\uc218\ub97c \uc785\ub825\ud574 \uc8fc\uc138\uc694.\");\n    }\n    catch (ArgumentException ex)\n    {\n        Console.WriteLine(ex.Message);\n    }\n    catch (Exception ex)\n    {\n        Console.WriteLine(\"\uc54c \uc218 \uc5c6\ub294 \uc624\ub958\uac00 \ubc1c\uc0dd\ud588\uc2b5\ub2c8\ub2e4: \" + ex.Message);\n    }\n}\n    <\/code><\/pre>\n<p>\uc704\uc758 \ucf54\ub4dc\uc5d0\uc11c <code>try-catch<\/code> \ube14\ub85d\uc744 \uc0ac\uc6a9\ud558\uc5ec \ub2e4\uc591\ud55c \uc608\uc678\ub97c \ucc98\ub9ac\ud558\uace0 \uc788\uc2b5\ub2c8\ub2e4. \uc0ac\uc6a9\uc790\uac00 \uc720\ud6a8\ud558\uc9c0 \uc54a\uc740 \uac12\uc744 \uc785\ub825\ud588\uc744 \uacbd\uc6b0, \uc801\uc808\ud55c \uc624\ub958 \uba54\uc2dc\uc9c0\ub97c \ucd9c\ub825\ud558\uc5ec \ud504\ub85c\uadf8\ub7a8\uc774 \ube44\uc815\uc0c1 \uc885\ub8cc\ub418\ub294 \uac83\uc744 \ubc29\uc9c0\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<h2>\ud6a8\uc728\uc131 \ubc0f \ucd5c\uc801\ud654<\/h2>\n<p>\uc774\ubc88 \ubb38\uc81c \ud574\uacb0 \uacfc\uc815\uc5d0\uc11c \uc0ac\uc6a9\ub41c \uc720\ud074\ub9ac\ub4dc \ud638\uc81c\ubc95\uc740 \ucd5c\ub300 \uacf5\uc57d\uc218\ub97c \ub9e4\uc6b0 \ud6a8\uc728\uc801\uc73c\ub85c \uacc4\uc0b0\ud560 \uc218 \uc788\ub3c4\ub85d \uc124\uacc4\ub418\uc5b4 \uc788\uc2b5\ub2c8\ub2e4. \uc774\ub7ec\ud55c \uc54c\uace0\ub9ac\uc998\uc740 O(log(min(A, B))) \uc2dc\uac04 \ubcf5\uc7a1\ub3c4\ub97c \uac16\uae30 \ub54c\ubb38\uc5d0, \ub9e4\uc6b0 \ud070 \uc218\uc758 \ucd5c\uc18c \uacf5\ubc30\uc218\ub97c \uad6c\ud560 \ub54c\uc5d0\ub3c4 \ud6a8\uc728\uc801\uc73c\ub85c \uc791\ub3d9\ud569\ub2c8\ub2e4. \uc774 \uc810\uc5d0\uc11c, \uc54c\uace0\ub9ac\uc998\uc758 \uc131\ub2a5\uc740 \ub9e4\uc6b0 \uc911\uc694\ud55c \uc694\uc18c\uc785\ub2c8\ub2e4.<\/p>\n<h2>\ub9c8\ubb34\ub9ac<\/h2>\n<p>\uc774\ubc88 \uac15\uc88c\uc5d0\uc11c\ub294 C#\uc744 \uc0ac\uc6a9\ud558\uc5ec \ucd5c\uc18c \uacf5\ubc30\uc218\ub97c \uad6c\ud558\ub294 \uc54c\uace0\ub9ac\uc998\uc744 \uad6c\ud604\ud574 \ubcf4\uc558\uc2b5\ub2c8\ub2e4. \uac01 \uba54\uc11c\ub4dc\uc758 \uae30\ub2a5\uc744 \uc774\ud574\ud558\uace0, \uc608\uc678 \ucc98\ub9ac\uc640 \ud6a8\uc728\uc131\uc5d0 \ub300\ud55c \ub0b4\uc6a9\uc744 \ud568\uaed8 \ub2e4\ub8e8\uc5b4 \ubcf4\uc558\uc2b5\ub2c8\ub2e4. \ucd5c\uc18c \uacf5\ubc30\uc218\ub294 \ub2e4\uc591\ud55c \ubb38\uc81c\uc5d0\uc11c \uc751\uc6a9\ub418\ubbc0\ub85c, \uc774 \uc54c\uace0\ub9ac\uc998\uc744 \uc798 \uc219\uc9c0\ud574 \ub450\ub294 \uac83\uc774 \uc911\uc694\ud569\ub2c8\ub2e4. \uc55e\uc73c\ub85c\ub3c4 \ub2e4\uc591\ud55c \uc54c\uace0\ub9ac\uc998 \ubb38\uc81c\ub97c \ud480\uc5b4\ubcf4\uba70 \uc2e4\ub825\uc744 \uc313\uc544\uac00\uc2dc\uae38 \ubc14\ub78d\ub2c8\ub2e4!<\/p>\n<p>\uc5ec\uae30\uae4c\uc9c0 \uc77d\uc5b4\uc8fc\uc154\uc11c \uac10\uc0ac\ud569\ub2c8\ub2e4. \ub2e4\uc74c \uac15\uc88c\uc5d0\uc11c\ub294 \ub2e4\ub978 \uc54c\uace0\ub9ac\uc998 \ubb38\uc81c \ud574\uacb0 \ubc29\ubc95\uc5d0 \ub300\ud574 \uc54c\uc544\ubcf4\ub3c4\ub85d \ud558\uaca0\uc2b5\ub2c8\ub2e4.<\/p>\n<p><\/body><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\uc774\ubc88 \uac15\uc88c\uc5d0\uc11c\ub294 \ucf54\ub529 \ud14c\uc2a4\ud2b8\uc5d0\uc11c \uc790\uc8fc \ucd9c\uc81c\ub418\ub294 &#8220;\ucd5c\uc18c \uacf5\ubc30\uc218(Lowest Common Multiple, LCM)&#8221; \ubb38\uc81c\ub97c \ud574\uacb0\ud558\ub294 \ubc29\ubc95\uc5d0 \ub300\ud574 \uc54c\uc544\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. \ucd5c\uc18c \uacf5\ubc30\uc218\ub294 \ub450 \uac1c \uc774\uc0c1\uc758 \uc218\ub4e4\uc5d0\uc11c \uacf5\ud1b5\uc801\uc73c\ub85c \ub098\ub204\uc5b4 \ub5a8\uc5b4\uc9c0\ub294 \uac00\uc7a5 \uc791\uc740 \uc591\uc758 \uc815\uc218\ub97c \uc758\ubbf8\ud569\ub2c8\ub2e4. \uc774 \uac1c\ub150\uc740 \uc218\ud559\uc801\uc73c\ub85c \uc911\uc694\ud55c \uc131\uc9c8\uc744 \uac00\uc9c0\uba70, \uc54c\uace0\ub9ac\uc998\uc801 \ubb38\uc81c \ud574\uacb0\uc5d0\uc11c\ub3c4 \uc790\uc8fc \uc0ac\uc6a9\ub429\ub2c8\ub2e4. \ubb38\uc81c \uc124\uba85 \uc8fc\uc5b4\uc9c4 \ub450 \uc591\uc758 \uc815\uc218 A\uc640 B\uc5d0 \ub300\ud574, A\uc640 B\uc758 \ucd5c\uc18c \uacf5\ubc30\uc218\ub97c \uad6c\ud558\ub294 &hellip; <a href=\"https:\/\/atmokpo.com\/w\/27320\/\" class=\"more-link\">\ub354 \ubcf4\uae30<span class=\"screen-reader-text\"> &#8220;C# \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ucd5c\uc18c \uacf5\ubc30\uc218 \uad6c\ud558\uae30&#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-27320","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, \ucd5c\uc18c \uacf5\ubc30\uc218 \uad6c\ud558\uae30 - \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\/27320\/\" \/>\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, \ucd5c\uc18c \uacf5\ubc30\uc218 \uad6c\ud558\uae30 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"og:description\" content=\"\uc774\ubc88 \uac15\uc88c\uc5d0\uc11c\ub294 \ucf54\ub529 \ud14c\uc2a4\ud2b8\uc5d0\uc11c \uc790\uc8fc \ucd9c\uc81c\ub418\ub294 &#8220;\ucd5c\uc18c \uacf5\ubc30\uc218(Lowest Common Multiple, LCM)&#8221; \ubb38\uc81c\ub97c \ud574\uacb0\ud558\ub294 \ubc29\ubc95\uc5d0 \ub300\ud574 \uc54c\uc544\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. \ucd5c\uc18c \uacf5\ubc30\uc218\ub294 \ub450 \uac1c \uc774\uc0c1\uc758 \uc218\ub4e4\uc5d0\uc11c \uacf5\ud1b5\uc801\uc73c\ub85c \ub098\ub204\uc5b4 \ub5a8\uc5b4\uc9c0\ub294 \uac00\uc7a5 \uc791\uc740 \uc591\uc758 \uc815\uc218\ub97c \uc758\ubbf8\ud569\ub2c8\ub2e4. \uc774 \uac1c\ub150\uc740 \uc218\ud559\uc801\uc73c\ub85c \uc911\uc694\ud55c \uc131\uc9c8\uc744 \uac00\uc9c0\uba70, \uc54c\uace0\ub9ac\uc998\uc801 \ubb38\uc81c \ud574\uacb0\uc5d0\uc11c\ub3c4 \uc790\uc8fc \uc0ac\uc6a9\ub429\ub2c8\ub2e4. \ubb38\uc81c \uc124\uba85 \uc8fc\uc5b4\uc9c4 \ub450 \uc591\uc758 \uc815\uc218 A\uc640 B\uc5d0 \ub300\ud574, A\uc640 B\uc758 \ucd5c\uc18c \uacf5\ubc30\uc218\ub97c \uad6c\ud558\ub294 &hellip; \ub354 \ubcf4\uae30 &quot;C# \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ucd5c\uc18c \uacf5\ubc30\uc218 \uad6c\ud558\uae30&quot;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/atmokpo.com\/w\/27320\/\" \/>\n<meta property=\"og:site_name\" content=\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"article:published_time\" content=\"2024-10-27T14:10:28+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-11-26T07:19:39+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\/27320\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/27320\/\"},\"author\":{\"name\":\"root\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7\"},\"headline\":\"C# \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ucd5c\uc18c \uacf5\ubc30\uc218 \uad6c\ud558\uae30\",\"datePublished\":\"2024-10-27T14:10:28+00:00\",\"dateModified\":\"2024-11-26T07:19:39+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/atmokpo.com\/w\/27320\/\"},\"wordCount\":31,\"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\/27320\/\",\"url\":\"https:\/\/atmokpo.com\/w\/27320\/\",\"name\":\"C# \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ucd5c\uc18c \uacf5\ubc30\uc218 \uad6c\ud558\uae30 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#website\"},\"datePublished\":\"2024-10-27T14:10:28+00:00\",\"dateModified\":\"2024-11-26T07:19:39+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/atmokpo.com\/w\/27320\/#breadcrumb\"},\"inLanguage\":\"ko-KR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/atmokpo.com\/w\/27320\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/atmokpo.com\/w\/27320\/#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, \ucd5c\uc18c \uacf5\ubc30\uc218 \uad6c\ud558\uae30\"}]},{\"@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, \ucd5c\uc18c \uacf5\ubc30\uc218 \uad6c\ud558\uae30 - \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\/27320\/","og_locale":"ko_KR","og_type":"article","og_title":"C# \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ucd5c\uc18c \uacf5\ubc30\uc218 \uad6c\ud558\uae30 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","og_description":"\uc774\ubc88 \uac15\uc88c\uc5d0\uc11c\ub294 \ucf54\ub529 \ud14c\uc2a4\ud2b8\uc5d0\uc11c \uc790\uc8fc \ucd9c\uc81c\ub418\ub294 &#8220;\ucd5c\uc18c \uacf5\ubc30\uc218(Lowest Common Multiple, LCM)&#8221; \ubb38\uc81c\ub97c \ud574\uacb0\ud558\ub294 \ubc29\ubc95\uc5d0 \ub300\ud574 \uc54c\uc544\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. \ucd5c\uc18c \uacf5\ubc30\uc218\ub294 \ub450 \uac1c \uc774\uc0c1\uc758 \uc218\ub4e4\uc5d0\uc11c \uacf5\ud1b5\uc801\uc73c\ub85c \ub098\ub204\uc5b4 \ub5a8\uc5b4\uc9c0\ub294 \uac00\uc7a5 \uc791\uc740 \uc591\uc758 \uc815\uc218\ub97c \uc758\ubbf8\ud569\ub2c8\ub2e4. \uc774 \uac1c\ub150\uc740 \uc218\ud559\uc801\uc73c\ub85c \uc911\uc694\ud55c \uc131\uc9c8\uc744 \uac00\uc9c0\uba70, \uc54c\uace0\ub9ac\uc998\uc801 \ubb38\uc81c \ud574\uacb0\uc5d0\uc11c\ub3c4 \uc790\uc8fc \uc0ac\uc6a9\ub429\ub2c8\ub2e4. \ubb38\uc81c \uc124\uba85 \uc8fc\uc5b4\uc9c4 \ub450 \uc591\uc758 \uc815\uc218 A\uc640 B\uc5d0 \ub300\ud574, A\uc640 B\uc758 \ucd5c\uc18c \uacf5\ubc30\uc218\ub97c \uad6c\ud558\ub294 &hellip; \ub354 \ubcf4\uae30 \"C# \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ucd5c\uc18c \uacf5\ubc30\uc218 \uad6c\ud558\uae30\"","og_url":"https:\/\/atmokpo.com\/w\/27320\/","og_site_name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","article_published_time":"2024-10-27T14:10:28+00:00","article_modified_time":"2024-11-26T07:19:39+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\/27320\/#article","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/27320\/"},"author":{"name":"root","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7"},"headline":"C# \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ucd5c\uc18c \uacf5\ubc30\uc218 \uad6c\ud558\uae30","datePublished":"2024-10-27T14:10:28+00:00","dateModified":"2024-11-26T07:19:39+00:00","mainEntityOfPage":{"@id":"https:\/\/atmokpo.com\/w\/27320\/"},"wordCount":31,"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\/27320\/","url":"https:\/\/atmokpo.com\/w\/27320\/","name":"C# \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ucd5c\uc18c \uacf5\ubc30\uc218 \uad6c\ud558\uae30 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/#website"},"datePublished":"2024-10-27T14:10:28+00:00","dateModified":"2024-11-26T07:19:39+00:00","breadcrumb":{"@id":"https:\/\/atmokpo.com\/w\/27320\/#breadcrumb"},"inLanguage":"ko-KR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/atmokpo.com\/w\/27320\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/atmokpo.com\/w\/27320\/#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, \ucd5c\uc18c \uacf5\ubc30\uc218 \uad6c\ud558\uae30"}]},{"@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\/27320","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=27320"}],"version-history":[{"count":1,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/27320\/revisions"}],"predecessor-version":[{"id":27321,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/27320\/revisions\/27321"}],"wp:attachment":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/media?parent=27320"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/categories?post=27320"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/tags?post=27320"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}