{"id":27266,"date":"2024-10-27T14:10:01","date_gmt":"2024-10-27T14:10:01","guid":{"rendered":"http:\/\/atmokpo.com\/w\/?p=27266"},"modified":"2024-11-26T07:20:03","modified_gmt":"2024-11-26T07:20:03","slug":"c-%ec%bd%94%eb%94%a9%ed%85%8c%ec%8a%a4%ed%8a%b8-%ea%b0%95%ec%a2%8c-%eb%8b%a4%eb%a6%ac-%eb%86%93%ea%b8%b0","status":"publish","type":"post","link":"https:\/\/atmokpo.com\/w\/27266\/","title":{"rendered":"C# \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ub2e4\ub9ac \ub193\uae30"},"content":{"rendered":"<article>\n<p>\uc548\ub155\ud558\uc138\uc694, \uc5ec\ub7ec\ubd84! \uc624\ub298\uc740 C#\uc744 \uc0ac\uc6a9\ud558\uc5ec \ucf54\ub529 \ud14c\uc2a4\ud2b8\uc5d0\uc11c \uc790\uc8fc \ub4f1\uc7a5\ud558\ub294 \ubb38\uc81c, <strong>\ub2e4\ub9ac \ub193\uae30<\/strong>\uc5d0 \ub300\ud574 \uc54c\uc544\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. \uc774 \ubb38\uc81c\ub294 \uc870\ud569(combination)\uacfc \ub3d9\uc801 \ud504\ub85c\uadf8\ub798\ubc0d(dynamic programming)\uc758 \uac1c\ub150\uc744 \uc798 \uc774\ud574\ud574\uc57c \ud574\uacb0\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc6b0\ub9ac\uac00 \ud480\uc5b4\ubcfc \ub2e4\ub9ac \ub193\uae30 \ubb38\uc81c\ub97c \ubcf4\ub2e4 \uc798 \uc774\ud574\ud558\uae30 \uc704\ud574 \ubb38\uc81c\uc758 \uc815\uc758\uc640 \uae30\ubcf8\uc801\uc778 \uc811\uadfc \ubc29\uc2dd\uc5d0 \ub300\ud574 \uc124\uba85\ud558\uaca0\uc2b5\ub2c8\ub2e4.<\/p>\n<h2>\ubb38\uc81c \uc815\uc758<\/h2>\n<p>\ub2e4\ub9ac \ub193\uae30 \ubb38\uc81c\ub294 \uc8fc\uc5b4\uc9c4 n\uac1c\uc758 \ub2e4\ub9ac \uc911\uc5d0\uc11c k\uac1c\uc758 \ub2e4\ub9ac\ub97c \uc120\ud0dd\ud574 \ub193\ub294 \ubc29\ubc95\uc758 \uc218\ub97c \uad6c\ud558\ub294 \ubb38\uc81c\uc785\ub2c8\ub2e4. \uc5ec\uae30\uc11c k\ub294 n\ubcf4\ub2e4 \uc791\uac70\ub098 \uac19\uc544\uc57c \ud569\ub2c8\ub2e4. \uc774 \ubb38\uc81c\ub294 \uc870\ud569(combination)\uc758 \uae30\ubcf8 \uc6d0\ub9ac\ub97c \ub530\ub974\uba70, \uacf5\uc2dd\uc801\uc73c\ub85c \ud45c\ud604\ud558\uba74 \uc544\ub798\uc640 \uac19\uc2b5\ub2c8\ub2e4:<\/p>\n<pre>\n        C(n, k) = n! \/ (k! * (n - k)!)\n    <\/pre>\n<p>\uc5ec\uae30\uc11c n!\uc740 1\ubd80\ud130 n\uae4c\uc9c0\uc758 \uacf1\uc744 \uc758\ubbf8\ud558\uba70, \uc870\ud569 \uacf5\uc2dd\uc778 C(n, k)\ub294 n\uac1c \uc911 k\uac1c\ub97c \uc120\ud0dd\ud558\ub294 \ubc29\ubc95\uc758 \uc218\ub97c \ub098\ud0c0\ub0c5\ub2c8\ub2e4.<\/p>\n<h2>\ubb38\uc81c \uc608\uc2dc<\/h2>\n<p>\uc608\ub97c \ub4e4\uc5b4, 5\uac1c\uc758 \ub2e4\ub9ac \uc911\uc5d0\uc11c 2\uac1c\uc758 \ub2e4\ub9ac\ub97c \uc120\ud0dd\ud558\ub294 \uacbd\uc6b0, \ub2e4\uc74c\uacfc \uac19\uc740 \uc870\ud569\uc774 \uc788\uc744 \uc218 \uc788\uc2b5\ub2c8\ub2e4:<\/p>\n<ul>\n<li>\ub2e4\ub9ac 1, \ub2e4\ub9ac 2<\/li>\n<li>\ub2e4\ub9ac 1, \ub2e4\ub9ac 3<\/li>\n<li>\ub2e4\ub9ac 1, \ub2e4\ub9ac 4<\/li>\n<li>\ub2e4\ub9ac 1, \ub2e4\ub9ac 5<\/li>\n<li>\ub2e4\ub9ac 2, \ub2e4\ub9ac 3<\/li>\n<li>\ub2e4\ub9ac 2, \ub2e4\ub9ac 4<\/li>\n<li>\ub2e4\ub9ac 2, \ub2e4\ub9ac 5<\/li>\n<li>\ub2e4\ub9ac 3, \ub2e4\ub9ac 4<\/li>\n<li>\ub2e4\ub9ac 3, \ub2e4\ub9ac 5<\/li>\n<li>\ub2e4\ub9ac 4, \ub2e4\ub9ac 5<\/li>\n<\/ul>\n<p>\uc989, \ucd1d 10\uac1c\uc758 \ubc29\ubc95\uc774 \uc788\uc2b5\ub2c8\ub2e4. \uc774\ub7ec\ud55c \uac1c\ub150\uc744 \ubc14\ud0d5\uc73c\ub85c, \uc6b0\ub9ac\ub294 \ubb38\uc81c\ub97c \ud574\uacb0\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<h2>\uc54c\uace0\ub9ac\uc998 \uc811\uadfc\ubc95<\/h2>\n<p>\ub2e4\ub9ac \ub193\uae30 \ubb38\uc81c\ub97c \ud574\uacb0\ud558\uae30 \uc704\ud574\uc11c\ub294 \ub450 \uac00\uc9c0 \uae30\ubcf8 \uac1c\ub150\uc774 \ud544\uc694\ud569\ub2c8\ub2e4.<\/p>\n<h3>1. \uc870\ud569 \uacf5\uc2dd<\/h3>\n<p>\uc774 \ud504\ub85c\uadf8\ub798\ubc0d \ubb38\uc81c\ub294 \uc870\ud569 \uacf5\uc2dd\uc744 \uc0ac\uc6a9\ud558\uc5ec \ud574\uacb0\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. C(n, k) \uacf5\uc2dd\uc5d0 \uae30\ubc18\ud558\uc5ec \ubb38\uc81c\ub97c \ud574\uacb0\ud558\uaca0\uc2b5\ub2c8\ub2e4.<\/p>\n<h4>C# \ucf54\ub4dc \uad6c\ud604<\/h4>\n<pre><code>\n        using System;\n\n        class Program\n        {\n            static void Main(string[] args)\n            {\n                Console.WriteLine(\"n\uacfc k\uc758 \uac12\uc744 \uc785\ub825\ud558\uc138\uc694 (\uc608: n k):\");\n                string[] inputs = Console.ReadLine().Split(' ');\n                int n = int.Parse(inputs[0]);\n                int k = int.Parse(inputs[1]);\n\n                long result = CalculateCombination(n, k);\n                Console.WriteLine($\"C({n}, {k}) = {result}\");\n            }\n\n            static long CalculateCombination(int n, int k)\n            {\n                if (k &gt; n) return 0;\n                if (k == 0 || k == n) return 1;\n\n                long result = 1;\n                for (int i = 0; i &lt; k; i++)\n                {\n                    result = result * (n - i) \/ (i + 1);\n                }\n                return result;\n            }\n        }\n        <\/code><\/pre>\n<h2>\ucf54\ub4dc \uc124\uba85<\/h2>\n<p>\uc704\uc758 C# \ucf54\ub4dc\ub294 \uc0ac\uc6a9\uc790\uac00 \uc785\ub825\ud55c n\uacfc k\uc758 \uac12\uc744 \ubc14\ud0d5\uc73c\ub85c \uc870\ud569\uc758 \uc218\ub97c \uacc4\uc0b0\ud569\ub2c8\ub2e4. <strong>CalculateCombination<\/strong> \uba54\uc18c\ub4dc\ub294 \uc8fc\uc5b4\uc9c4 n\uacfc k\ub97c \uc774\uc6a9\ud574 C(n, k)\ub97c \uacc4\uc0b0\ud558\ub294 \ub85c\uc9c1\uc744 \uc2e4\ud589\ud569\ub2c8\ub2e4.<\/p>\n<h3>2. \ub3d9\uc801 \ud504\ub85c\uadf8\ub798\ubc0d \ubc29\ubc95<\/h3>\n<p>\uc870\ud569 \uc218\ub97c \uacc4\uc0b0\ud558\ub294 \ub610 \ub2e4\ub978 \ubc29\ubc95\uc740 \ub3d9\uc801 \ud504\ub85c\uadf8\ub798\ubc0d\uc744 \uc0ac\uc6a9\ud558\ub294 \uac83\uc785\ub2c8\ub2e4. \uc774\ub97c \ud1b5\ud574 \uba54\ubaa8\uc774\uc81c\uc774\uc158(memoization) \uae30\ubc95\uc744 \uc0ac\uc6a9\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<h4>C# \ucf54\ub4dc \uad6c\ud604: \ub3d9\uc801 \ud504\ub85c\uadf8\ub798\ubc0d<\/h4>\n<pre><code>\n        using System;\n\n        class Program\n        {\n            static void Main(string[] args)\n            {\n                Console.WriteLine(\"n\uacfc k\uc758 \uac12\uc744 \uc785\ub825\ud558\uc138\uc694 (\uc608: n k):\");\n                string[] inputs = Console.ReadLine().Split(' ');\n                int n = int.Parse(inputs[0]);\n                int k = int.Parse(inputs[1]);\n\n                long[,] dp = new long[n + 1, k + 1];\n\n                for (int i = 0; i &lt;= n; i++)\n                {\n                    for (int j = 0; j &lt;= Math.Min(i, k); j++)\n                    {\n                        if (j == 0 || j == i)\n                            dp[i, j] = 1;\n                        else\n                            dp[i, j] = dp[i - 1, j - 1] + dp[i - 1, j];\n                    }\n                }\n\n                Console.WriteLine($\"C({n}, {k}) = {dp[n, k]}\");\n            }\n        }\n        <\/code><\/pre>\n<h2>\ucf54\ub4dc \uc124\uba85<\/h2>\n<p>\uc704\uc758 \ub3d9\uc801 \ud504\ub85c\uadf8\ub798\ubc0d \ucf54\ub4dc\uc5d0\uc11c\ub294 2\ucc28\uc6d0 \ubc30\uc5f4 <strong>dp<\/strong>\ub97c \uc0ac\uc6a9\ud558\uc5ec C(n, k)\ub97c \uc800\uc7a5\ud569\ub2c8\ub2e4. \uc911\ucca9 \ub8e8\ud504\ub97c \uc0ac\uc6a9\ud558\uc5ec \uac01 \uacbd\uc6b0\uc758 \uc218\ub97c \uacc4\uc0b0\ud569\ub2c8\ub2e4. \uc774 \ucf54\ub4dc\ub294 \uba54\ubaa8\uc774\uc81c\uc774\uc158 \ubc29\uc2dd\uc744 \ud1b5\ud574 O(n * k)\uc758 \uc2dc\uac04 \ubcf5\uc7a1\ub3c4\ub85c \ubb38\uc81c\ub97c \ud574\uacb0\ud569\ub2c8\ub2e4.<\/p>\n<h2>\uc785\ucd9c\ub825 \uc608\uc2dc<\/h2>\n<p>\uc0ac\uc6a9\uc790\uac00 n\uacfc k\uc744 \uc785\ub825\ud558\uba74, \ud504\ub85c\uadf8\ub7a8\uc774 \uc870\ud569\uc758 \uac1c\uc218\ub97c \ucd9c\ub825\ud558\ub294 \uacfc\uc815\uc744 \uc608\ub97c \ub4e4\uc5b4 \ubcf4\uaca0\uc2b5\ub2c8\ub2e4:<\/p>\n<h3>\uc785\ub825<\/h3>\n<pre>\n    5 2\n    <\/pre>\n<h3>\ucd9c\ub825<\/h3>\n<pre>\n    C(5, 2) = 10\n    <\/pre>\n<h2>\uacb0\ub860<\/h2>\n<p>\ub2e4\ub9ac \ub193\uae30 \ubb38\uc81c\ub294 \uc870\ud569\uc758 \uac1c\ub150\uc744 \uc774\ud574\ud558\uace0, \uc774\ub97c \ud504\ub85c\uadf8\ub798\ubc0d\uc801\uc73c\ub85c \uad6c\ud604\ud558\ub294 \ubc29\ubc95\uc744 \ubc30\uc6b0\ub294 \uc88b\uc740 \uc5f0\uc2b5\ubb38\uc81c\uc785\ub2c8\ub2e4. C#\uc744 \uc0ac\uc6a9\ud558\uc5ec \uc870\ud569\uc744 \uacc4\uc0b0\ud558\ub294 \ub450 \uac00\uc9c0 \ubc29\ubc95\uc744 \uc81c\uacf5\ud558\uc600\uc73c\uba70, \uac01 \ubc29\ubc95\uc758 \uc7a5\ub2e8\uc810\uc744 \uc774\ud574\ud558\ub294 \uac83\uc774 \uc911\uc694\ud569\ub2c8\ub2e4. \uc5ec\ub7ec\ubd84\ub3c4 \uc774 \ubb38\uc81c\ub97c \ud1b5\ud574 \uc870\ud569, \ub3d9\uc801 \ud504\ub85c\uadf8\ub798\ubc0d\uc5d0 \ub300\ud55c \uc774\ud574\ub97c \ub192\uc774\uace0, \ub354 \ub098\uc544\uac00 \ub2e4\uc591\ud55c \uc54c\uace0\ub9ac\uc998 \ubb38\uc81c\ub97c \ud574\uacb0\ud560 \uc218 \uc788\ub294 \ub2a5\ub825\uc744 \uae30\ub974\uae30\ub97c \ubc14\ub78d\ub2c8\ub2e4.<\/p>\n<h2> \ucc38\uace0 \uc790\ub8cc <\/h2>\n<ul>\n<li><a href=\"https:\/\/en.wikipedia.org\/wiki\/Combination\">Combination &#8211; Wikipedia<\/a><\/li>\n<li><a href=\"https:\/\/en.wikipedia.org\/wiki\/Dynamic_programming\">Dynamic Programming &#8211; Wikipedia<\/a><\/li>\n<\/ul>\n<\/article>\n","protected":false},"excerpt":{"rendered":"<p>\uc548\ub155\ud558\uc138\uc694, \uc5ec\ub7ec\ubd84! \uc624\ub298\uc740 C#\uc744 \uc0ac\uc6a9\ud558\uc5ec \ucf54\ub529 \ud14c\uc2a4\ud2b8\uc5d0\uc11c \uc790\uc8fc \ub4f1\uc7a5\ud558\ub294 \ubb38\uc81c, \ub2e4\ub9ac \ub193\uae30\uc5d0 \ub300\ud574 \uc54c\uc544\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. \uc774 \ubb38\uc81c\ub294 \uc870\ud569(combination)\uacfc \ub3d9\uc801 \ud504\ub85c\uadf8\ub798\ubc0d(dynamic programming)\uc758 \uac1c\ub150\uc744 \uc798 \uc774\ud574\ud574\uc57c \ud574\uacb0\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc6b0\ub9ac\uac00 \ud480\uc5b4\ubcfc \ub2e4\ub9ac \ub193\uae30 \ubb38\uc81c\ub97c \ubcf4\ub2e4 \uc798 \uc774\ud574\ud558\uae30 \uc704\ud574 \ubb38\uc81c\uc758 \uc815\uc758\uc640 \uae30\ubcf8\uc801\uc778 \uc811\uadfc \ubc29\uc2dd\uc5d0 \ub300\ud574 \uc124\uba85\ud558\uaca0\uc2b5\ub2c8\ub2e4. \ubb38\uc81c \uc815\uc758 \ub2e4\ub9ac \ub193\uae30 \ubb38\uc81c\ub294 \uc8fc\uc5b4\uc9c4 n\uac1c\uc758 \ub2e4\ub9ac \uc911\uc5d0\uc11c k\uac1c\uc758 \ub2e4\ub9ac\ub97c \uc120\ud0dd\ud574 \ub193\ub294 &hellip; <a href=\"https:\/\/atmokpo.com\/w\/27266\/\" class=\"more-link\">\ub354 \ubcf4\uae30<span class=\"screen-reader-text\"> &#8220;C# \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ub2e4\ub9ac \ub193\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-27266","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, \ub2e4\ub9ac \ub193\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\/27266\/\" \/>\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, \ub2e4\ub9ac \ub193\uae30 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"og:description\" content=\"\uc548\ub155\ud558\uc138\uc694, \uc5ec\ub7ec\ubd84! \uc624\ub298\uc740 C#\uc744 \uc0ac\uc6a9\ud558\uc5ec \ucf54\ub529 \ud14c\uc2a4\ud2b8\uc5d0\uc11c \uc790\uc8fc \ub4f1\uc7a5\ud558\ub294 \ubb38\uc81c, \ub2e4\ub9ac \ub193\uae30\uc5d0 \ub300\ud574 \uc54c\uc544\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. \uc774 \ubb38\uc81c\ub294 \uc870\ud569(combination)\uacfc \ub3d9\uc801 \ud504\ub85c\uadf8\ub798\ubc0d(dynamic programming)\uc758 \uac1c\ub150\uc744 \uc798 \uc774\ud574\ud574\uc57c \ud574\uacb0\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc6b0\ub9ac\uac00 \ud480\uc5b4\ubcfc \ub2e4\ub9ac \ub193\uae30 \ubb38\uc81c\ub97c \ubcf4\ub2e4 \uc798 \uc774\ud574\ud558\uae30 \uc704\ud574 \ubb38\uc81c\uc758 \uc815\uc758\uc640 \uae30\ubcf8\uc801\uc778 \uc811\uadfc \ubc29\uc2dd\uc5d0 \ub300\ud574 \uc124\uba85\ud558\uaca0\uc2b5\ub2c8\ub2e4. \ubb38\uc81c \uc815\uc758 \ub2e4\ub9ac \ub193\uae30 \ubb38\uc81c\ub294 \uc8fc\uc5b4\uc9c4 n\uac1c\uc758 \ub2e4\ub9ac \uc911\uc5d0\uc11c k\uac1c\uc758 \ub2e4\ub9ac\ub97c \uc120\ud0dd\ud574 \ub193\ub294 &hellip; \ub354 \ubcf4\uae30 &quot;C# \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ub2e4\ub9ac \ub193\uae30&quot;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/atmokpo.com\/w\/27266\/\" \/>\n<meta property=\"og:site_name\" content=\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"article:published_time\" content=\"2024-10-27T14:10:01+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-11-26T07:20:03+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\/27266\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/27266\/\"},\"author\":{\"name\":\"root\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7\"},\"headline\":\"C# \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ub2e4\ub9ac \ub193\uae30\",\"datePublished\":\"2024-10-27T14:10:01+00:00\",\"dateModified\":\"2024-11-26T07:20:03+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/atmokpo.com\/w\/27266\/\"},\"wordCount\":49,\"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\/27266\/\",\"url\":\"https:\/\/atmokpo.com\/w\/27266\/\",\"name\":\"C# \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ub2e4\ub9ac \ub193\uae30 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#website\"},\"datePublished\":\"2024-10-27T14:10:01+00:00\",\"dateModified\":\"2024-11-26T07:20:03+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/atmokpo.com\/w\/27266\/#breadcrumb\"},\"inLanguage\":\"ko-KR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/atmokpo.com\/w\/27266\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/atmokpo.com\/w\/27266\/#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, \ub2e4\ub9ac \ub193\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, \ub2e4\ub9ac \ub193\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\/27266\/","og_locale":"ko_KR","og_type":"article","og_title":"C# \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ub2e4\ub9ac \ub193\uae30 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","og_description":"\uc548\ub155\ud558\uc138\uc694, \uc5ec\ub7ec\ubd84! \uc624\ub298\uc740 C#\uc744 \uc0ac\uc6a9\ud558\uc5ec \ucf54\ub529 \ud14c\uc2a4\ud2b8\uc5d0\uc11c \uc790\uc8fc \ub4f1\uc7a5\ud558\ub294 \ubb38\uc81c, \ub2e4\ub9ac \ub193\uae30\uc5d0 \ub300\ud574 \uc54c\uc544\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. \uc774 \ubb38\uc81c\ub294 \uc870\ud569(combination)\uacfc \ub3d9\uc801 \ud504\ub85c\uadf8\ub798\ubc0d(dynamic programming)\uc758 \uac1c\ub150\uc744 \uc798 \uc774\ud574\ud574\uc57c \ud574\uacb0\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc6b0\ub9ac\uac00 \ud480\uc5b4\ubcfc \ub2e4\ub9ac \ub193\uae30 \ubb38\uc81c\ub97c \ubcf4\ub2e4 \uc798 \uc774\ud574\ud558\uae30 \uc704\ud574 \ubb38\uc81c\uc758 \uc815\uc758\uc640 \uae30\ubcf8\uc801\uc778 \uc811\uadfc \ubc29\uc2dd\uc5d0 \ub300\ud574 \uc124\uba85\ud558\uaca0\uc2b5\ub2c8\ub2e4. \ubb38\uc81c \uc815\uc758 \ub2e4\ub9ac \ub193\uae30 \ubb38\uc81c\ub294 \uc8fc\uc5b4\uc9c4 n\uac1c\uc758 \ub2e4\ub9ac \uc911\uc5d0\uc11c k\uac1c\uc758 \ub2e4\ub9ac\ub97c \uc120\ud0dd\ud574 \ub193\ub294 &hellip; \ub354 \ubcf4\uae30 \"C# \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ub2e4\ub9ac \ub193\uae30\"","og_url":"https:\/\/atmokpo.com\/w\/27266\/","og_site_name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","article_published_time":"2024-10-27T14:10:01+00:00","article_modified_time":"2024-11-26T07:20:03+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\/27266\/#article","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/27266\/"},"author":{"name":"root","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7"},"headline":"C# \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ub2e4\ub9ac \ub193\uae30","datePublished":"2024-10-27T14:10:01+00:00","dateModified":"2024-11-26T07:20:03+00:00","mainEntityOfPage":{"@id":"https:\/\/atmokpo.com\/w\/27266\/"},"wordCount":49,"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\/27266\/","url":"https:\/\/atmokpo.com\/w\/27266\/","name":"C# \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ub2e4\ub9ac \ub193\uae30 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/#website"},"datePublished":"2024-10-27T14:10:01+00:00","dateModified":"2024-11-26T07:20:03+00:00","breadcrumb":{"@id":"https:\/\/atmokpo.com\/w\/27266\/#breadcrumb"},"inLanguage":"ko-KR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/atmokpo.com\/w\/27266\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/atmokpo.com\/w\/27266\/#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, \ub2e4\ub9ac \ub193\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\/27266","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=27266"}],"version-history":[{"count":1,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/27266\/revisions"}],"predecessor-version":[{"id":27267,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/27266\/revisions\/27267"}],"wp:attachment":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/media?parent=27266"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/categories?post=27266"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/tags?post=27266"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}