{"id":27340,"date":"2024-10-27T14:10:44","date_gmt":"2024-10-27T14:10:44","guid":{"rendered":"http:\/\/atmokpo.com\/w\/?p=27340"},"modified":"2024-11-26T07:19:27","modified_gmt":"2024-11-26T07:19:27","slug":"c-%ec%bd%94%eb%94%a9%ed%85%8c%ec%8a%a4%ed%8a%b8-%ea%b0%95%ec%a2%8c-%eb%ac%b8%ec%9e%90%ec%97%b4-%ec%b0%be%ea%b8%b0","status":"publish","type":"post","link":"https:\/\/atmokpo.com\/w\/27340\/","title":{"rendered":"C# \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ubb38\uc790\uc5f4 \ucc3e\uae30"},"content":{"rendered":"<p><body><\/p>\n<h2>\ubb38\uc81c \uc124\uba85<\/h2>\n<p>\uc5ec\ub7ec\ubd84\uc740 \ubb38\uc790\uc5f4 S\uc5d0\uc11c \ud2b9\uc815 \ubb38\uc790\uc5f4 P\uac00 \uba87 \ubc88 \ub098\ud0c0\ub098\ub294\uc9c0\ub97c \ucc3e\uc544\uc57c \ud569\ub2c8\ub2e4. \ubb38\uc790\uc5f4 P\ub294 \ubb38\uc790\uc5f4 S\uc5d0 \uc5ec\ub7ec \ubc88 \ub098\ud0c0\ub0a0 \uc218 \uc788\uc73c\uba70, \uacb9\uce58\ub294 \uacbd\uc6b0\ub3c4 \uc788\uc744 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc8fc\uc5b4\uc9c4 \ubb38\uc790\uc5f4 S\uc758 \uae38\uc774\ub294 1 \uc774\uc0c1 100,000 \uc774\ud558\uc774\uba70, \ubb38\uc790\uc5f4 P\uc758 \uae38\uc774\ub294 1 \uc774\uc0c1 100 \uc774\ud558\uc785\ub2c8\ub2e4. \ub300\uc18c\ubb38\uc790\ub294 \uad6c\ubcc4\ud558\uc9c0 \uc54a\uc2b5\ub2c8\ub2e4.<\/p>\n<h2>\uc785\ub825 \ud615\uc2dd<\/h2>\n<ul>\n<li>\uccab \ubc88\uc9f8 \uc904: \ubb38\uc790\uc5f4 S (1 \u2264 |S| \u2264 100,000)<\/li>\n<li>\ub450 \ubc88\uc9f8 \uc904: \ubb38\uc790\uc5f4 P (1 \u2264 |P| \u2264 100)<\/li>\n<\/ul>\n<h2>\ucd9c\ub825 \ud615\uc2dd<\/h2>\n<p>\ubaa8\ub4e0 \ubc1c\uc0dd\uc758 \uc218\ub97c \uc815\uc218\ub85c \ucd9c\ub825\ud558\uc138\uc694.<\/p>\n<h3>\uc608\uc81c<\/h3>\n<h4>\uc785\ub825<\/h4>\n<pre>\n    abCabcABCabc\n    abc\n    <\/pre>\n<h4>\ucd9c\ub825<\/h4>\n<pre>\n    4\n    <\/pre>\n<h2>\ubb38\uc81c \ud480\uc774 \uacfc\uc815<\/h2>\n<h3>1. \ubb38\uc81c \uc774\ud574\ud558\uae30<\/h3>\n<p>\uc774 \ubb38\uc81c\ub294 \uc8fc\uc5b4\uc9c4 \ubb38\uc790\uc5f4 S\uc5d0\uc11c \ubb38\uc790\uc5f4 P\uac00 \uba87 \ubc88 \ub4f1\uc7a5\ud558\ub294\uc9c0\ub97c \ud655\uc778\ud558\ub294 \uac83\uc785\ub2c8\ub2e4. \ubb38\uc790\uc5f4\uc774 \ub300\uc18c\ubb38\uc790\ub97c \uad6c\ubd84\ud558\uc9c0 \uc54a\uae30 \ub54c\ubb38\uc5d0, \ubb38\uc81c\ub97c \ud574\uacb0\ud558\uae30 \uc704\ud574 \ub450 \ubb38\uc790\uc5f4 \ubaa8\ub450 \uc18c\ubb38\uc790\ub85c \ubcc0\ud658\ud558\uc5ec \ube44\uad50\ud574\uc57c \ud569\ub2c8\ub2e4.<\/p>\n<h3>2. \uc811\uadfc \ubc29\ubc95<\/h3>\n<p>\ubb38\uc790\uc5f4 \uac80\uc0c9 \ubb38\uc81c\ub294 \uc5ec\ub7ec \uc811\uadfc \ubc29\ubc95\uc774 \uc788\uc9c0\ub9cc, \uc6b0\ub9ac\ub294 \uac04\ub2e8\ud55c \ubc18\ubcf5\ubb38\uc744 \uc0ac\uc6a9\ud558\uc5ec \uc9c1\uc811\uc801\uc73c\ub85c \ud574\uacb0\ud574 \ubcf4\uaca0\uc2b5\ub2c8\ub2e4. \ub2e4\uc74c\uacfc \uac19\uc740 \uc808\ucc28\ub85c \ubb38\uc81c\ub97c \ud574\uacb0\ud560 \uac83\uc785\ub2c8\ub2e4:<\/p>\n<ol>\n<li>\ubb38\uc790\uc5f4 S\ub97c \uc18c\ubb38\uc790\ub85c \ubcc0\ud658\ud569\ub2c8\ub2e4.<\/li>\n<li>\ubb38\uc790\uc5f4 P\ub97c \uc18c\ubb38\uc790\ub85c \ubcc0\ud658\ud569\ub2c8\ub2e4.<\/li>\n<li>\ubc18\ubcf5\ubb38\uc744 \ud1b5\ud574 \ubb38\uc790\uc5f4 S\uc5d0\uc11c \ubb38\uc790\uc5f4 P\ub97c \ucc3e\uc2b5\ub2c8\ub2e4.<\/li>\n<li>\uac01 \ubc1c\uc0dd \uc2dc \uce74\uc6b4\ud2b8\ub97c \uc99d\uac00\uc2dc\ud0b5\ub2c8\ub2e4.<\/li>\n<\/ol>\n<h3>3. \uc54c\uace0\ub9ac\uc998 \uc124\uacc4<\/h3>\n<p>\uc54c\uace0\ub9ac\uc998\uc758 \ubcf5\uc7a1\ub3c4\ub294 O(n*m)\uc785\ub2c8\ub2e4. \uc5ec\uae30\uc11c n\uc740 \ubb38\uc790\uc5f4 S\uc758 \uae38\uc774, m\uc740 \ubb38\uc790\uc5f4 P\uc758 \uae38\uc774\uc785\ub2c8\ub2e4. \ub450 \ubb38\uc790\uc5f4\uc744 \uc9c1\uc811 \ube44\uad50\ud558\uae30 \ub54c\ubb38\uc5d0, \ucd5c\uc545\uc758 \uacbd\uc6b0 \ubaa8\ub4e0 \uc778\ub371\uc2a4\uc5d0\uc11c \ubb38\uc790\uc5f4 P\ub97c \ud0d0\uc0c9\ud574\uc57c \ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<h3>4. C# \ucf54\ub4dc \uad6c\ud604<\/h3>\n<p>\uc544\ub798\ub294 C# \ucf54\ub4dc \uc608\uc2dc\uc785\ub2c8\ub2e4.<\/p>\n<pre>\n    using System;\n\n    class Program\n    {\n        static void Main(string[] args)\n        {\n            string S = Console.ReadLine();\n            string P = Console.ReadLine();\n\n            \/\/ \ub300\uc18c\ubb38\uc790\ub97c \uad6c\ubd84\ud558\uc9c0 \uc54a\uae30 \uc704\ud574 \uc18c\ubb38\uc790\ub85c \ubcc0\ud658\n            S = S.ToLower();\n            P = P.ToLower();\n\n            int count = 0;\n            int position = 0;\n\n            while ((position = S.IndexOf(P, position)) != -1)\n            {\n                count++;\n                position++; \/\/ \uacb9\uce58\ub294 \uacbd\uc6b0\ub97c \uace0\ub824\ud558\uc5ec \uc704\uce58\ub97c \ud55c \uce78 \uc774\ub3d9\n            }\n\n            Console.WriteLine(count);\n        }\n    }\n    <\/pre>\n<h3>5. \ucf54\ub4dc \uc124\uba85<\/h3>\n<p>\ucf54\ub4dc\ub294 \ub2e4\uc74c\uacfc \uac19\uc740 \ub2e8\uacc4\ub97c \ud3ec\ud568\ud569\ub2c8\ub2e4:<\/p>\n<ol>\n<li>\uc0ac\uc6a9\uc790\ub85c\ubd80\ud130 \ubb38\uc790\uc5f4 S\uc640 P\ub97c \uc785\ub825\ubc1b\uc2b5\ub2c8\ub2e4.<\/li>\n<li>\ubb38\uc790\uc5f4 S\uc640 P\ub97c \uc18c\ubb38\uc790\ub85c \ubcc0\ud658\ud558\uc5ec \ube44\uad50\ub97c \uc6a9\uc774\ud558\uac8c \ud569\ub2c8\ub2e4.<\/li>\n<li>while \ub8e8\ud504\ub97c \ud1b5\ud574 \ubb38\uc790\uc5f4 S\uc5d0\uc11c P\uc758 \uc704\uce58\ub97c \ucc3e\uc2b5\ub2c8\ub2e4.<\/li>\n<li>S.IndexOf() \uba54\uc11c\ub4dc\ub97c \uc0ac\uc6a9\ud558\uc5ec \ud604\uc7ac \uc704\uce58\ubd80\ud130 P\uc758 \uc704\uce58\ub97c \ucc3e\uc2b5\ub2c8\ub2e4. \ucc3e\uc740 \uc704\uce58\uac00 -1\uc774 \uc544\ub2cc \uacbd\uc6b0, \uce74\uc6b4\ud2b8\ub97c \uc99d\uac00\uc2dc\ud0a4\uace0 \ub2e4\uc74c \uc704\uce58\ub85c \uc774\ub3d9\ud569\ub2c8\ub2e4.<\/li>\n<li>\ubaa8\ub4e0 \ubc1c\uc0dd \uc218\ub97c \ucd9c\ub825\ud569\ub2c8\ub2e4.<\/li>\n<\/ol>\n<h2>\uc131\ub2a5 \uace0\ub824\uc0ac\ud56d<\/h2>\n<p>\uc774 \ucf54\ub4dc\uc758 \uc2dc\uac04 \ubcf5\uc7a1\ub3c4\ub294 O(n*m)\uc774\uba70, \uc774\ub294 \ubb38\uc790\uc5f4 S\uc758 \uae38\uc774\uc640 P\uc758 \uae38\uc774\uc5d0 \ub530\ub77c \ub2ec\ub77c\uc9d1\ub2c8\ub2e4. \ub9cc\uc57d S\uc758 \uae38\uc774\uac00 100,000\uc774\uace0 P\uc758 \uae38\uc774\uac00 100\uc774\ub77c\uba74, \ucd5c\uc545\uc758 \uacbd\uc6b0 10,000,000 \uc5f0\uc0b0\uc774 \uc694\uad6c\ub420 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc774\ub294 \ub2e4\uc18c \ube44\ud6a8\uc728\uc801\uc77c \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<p>\ub530\ub77c\uc11c, \ub9cc\uc57d \uc131\ub2a5\uc744 \ub354\uc6b1 \uac1c\uc120\ud558\uace0 \uc2f6\ub2e4\uba74 KMP(Knuth-Morris-Pratt) \uc54c\uace0\ub9ac\uc998\uacfc \uac19\uc740 \ubb38\uc790\uc5f4 \uac80\uc0c9 \uc54c\uace0\ub9ac\uc998\uc744 \uace0\ub824\ud574\ubcfc \uc218 \uc788\uc2b5\ub2c8\ub2e4. KMP \uc54c\uace0\ub9ac\uc998\uc740 O(n + m)\uc758 \uc2dc\uac04 \ubcf5\uc7a1\ub3c4\ub97c \uac00\uc9c0\uba70, \ub354 \ud6a8\uc728\uc801\uc778 \uac80\uc0c9\uc744 \uac00\ub2a5\ud558\uac8c \ud569\ub2c8\ub2e4.<\/p>\n<h3>5-1. KMP \uc54c\uace0\ub9ac\uc998 \uac1c\uc694<\/h3>\n<p>KMP \uc54c\uace0\ub9ac\uc998\uc740 \ubd80\ubd84 \ubb38\uc790\uc5f4 \uac80\uc0c9\uc744 \uc704\ud55c \ud6a8\uc728\uc801\uc778 \ubc29\ubc95\uc785\ub2c8\ub2e4. \uc774 \uc54c\uace0\ub9ac\uc998\uc740 \uc544\ub798\uc640 \uac19\uc740 \uc6d0\ub9ac\ub97c \uc774\uc6a9\ud569\ub2c8\ub2e4:<\/p>\n<ul>\n<li>\uba3c\uc800, \ud328\ud134 \ubb38\uc790\uc5f4 P\uc758 \ubd80\ubd84 \uc77c\uce58\ub97c \uc800\uc7a5\ud558\ub294 \ubc30\uc5f4\uc744 \uc0dd\uc131\ud569\ub2c8\ub2e4.<\/li>\n<li>\ubb38\uc790\uc5f4 S\ub97c \ud0d0\uc0c9\ud558\uba74\uc11c, \ub9cc\uc57d \ubd88\uc77c\uce58\uac00 \ubc1c\uc0dd\ud588\uc744 \ub54c \ud328\ud134 \ubb38\uc790\uc5f4\uc5d0\uc11c \uba87 \uac1c\uc758 \ubb38\uc790\ub97c \uac74\ub108\ub6f8 \uc218 \uc788\ub294\uc9c0\ub97c \uacc4\uc0b0\ud569\ub2c8\ub2e4.<\/li>\n<\/ul>\n<h3>5-2. KMP \uc54c\uace0\ub9ac\uc998 C# \uad6c\ud604<\/h3>\n<p>\uc544\ub798\ub294 KMP \uc54c\uace0\ub9ac\uc998\uc744 \uad6c\ud604\ud55c C# \ucf54\ub4dc\uc785\ub2c8\ub2e4.<\/p>\n<pre>\n    using System;\n\n    class Program\n    {\n        static void Main(string[] args)\n        {\n            string S = Console.ReadLine();\n            string P = Console.ReadLine();\n\n            \/\/ \ub300\uc18c\ubb38\uc790\ub97c \uad6c\ubd84\ud558\uc9c0 \uc54a\uae30 \uc704\ud574 \uc18c\ubb38\uc790\ub85c \ubcc0\ud658\n            S = S.ToLower();\n            P = P.ToLower();\n\n            int count = KMP(S, P);\n            Console.WriteLine(count);\n        }\n\n        static int KMP(string S, string P)\n        {\n            int m = P.Length;\n            int n = S.Length;\n            int count = 0;\n\n            \/\/ LPS \ubc30\uc5f4 \ucd08\uae30\ud654\n            int[] lps = new int[m];\n            ComputeLPSArray(P, m, lps);\n\n            int i = 0; \/\/ S\uc758 \uc778\ub371\uc2a4\n            int j = 0; \/\/ P\uc758 \uc778\ub371\uc2a4\n\n            while (i &lt; n)\n            {\n                if (P[j] == S[i])\n                {\n                    i++;\n                    j++;\n                }\n\n                if (j == m)\n                {\n                    count++;\n                    j = lps[j - 1];\n                }\n                else if (i &lt; n &amp;&amp; P[j] != S[i])\n                {\n                    if (j != 0)\n                        j = lps[j - 1];\n                    else\n                        i++;\n                }\n            }\n            return count;\n        }\n\n        static void ComputeLPSArray(string P, int m, int[] lps)\n        {\n            int len = 0;\n            int i = 1;\n            lps[0] = 0;\n\n            while (i &lt; m)\n            {\n                if (P[i] == P[len])\n                {\n                    len++;\n                    lps[i] = len;\n                    i++;\n                }\n                else\n                {\n                    if (len != 0)\n                        len = lps[len - 1];\n                    else\n                    {\n                        lps[i] = 0;\n                        i++;\n                    }\n                }\n            }\n        }\n    }\n    <\/pre>\n<h3>6. KMP \uc54c\uace0\ub9ac\uc998 \ucf54\ub4dc \uc124\uba85<\/h3>\n<p>\uc704 \ucf54\ub4dc\ub294 \ub2e4\uc74c\uacfc \uac19\uc740 \uc808\ucc28\ub85c \uc791\ub3d9\ud569\ub2c8\ub2e4:<\/p>\n<ol>\n<li>\uc6b0\uc120 \ubb38\uc790\uc5f4 S\uc640 P\ub97c \uc18c\ubb38\uc790\ub85c \ubcc0\ud658\ud569\ub2c8\ub2e4. \uc774\ub97c \ud1b5\ud574 \ub300\uc18c\ubb38\uc790 \uad6c\ubd84\uc744 \uc5c6\uc571\ub2c8\ub2e4.<\/li>\n<li>KMP \uba54\uc11c\ub4dc\ub97c \ud638\ucd9c\ud558\uc5ec \ubb38\uc790\uc5f4 P\uac00 \ubb38\uc790\uc5f4 S\uc5d0 \uba87 \ubc88 \ub098\ud0c0\ub098\ub294\uc9c0\ub97c \ud0d0\uc0c9\ud569\ub2c8\ub2e4.<\/li>\n<li>KMP \uba54\uc11c\ub4dc \ub0b4\ubd80\uc5d0\uc11c LPS \ubc30\uc5f4\uc744 \uc0dd\uc131\ud569\ub2c8\ub2e4. LPS \ubc30\uc5f4\uc740 \ud328\ud134 P\uc758 \uc811\ub450\uc0ac\uc640 \uc811\ubbf8\uc0ac\uc758 \ucd5c\ub300 \uae38\uc774\ub97c \uc800\uc7a5\ud569\ub2c8\ub2e4.<\/li>\n<li>\ubb38\uc790\uc5f4 S\ub97c \uc2a4\uce94\ud558\uba74\uc11c \ud328\ud134 P\uc758 \ub9e4\uce6d\uc744 \uc9c4\ud589\ud569\ub2c8\ub2e4. \ub9e4\uce6d\uc774 \uc131\uacf5\ud558\uba74 \uce74\uc6b4\ud2b8\ub97c \uc99d\uac00\uc2dc\ud0a4\uace0, \ub9e4\uce6d\uc774 \uc2e4\ud328\ud558\uba74 LPS \ubc30\uc5f4\uc744 \ucc38\uc870\ud558\uc5ec \uc704\uce58\ub97c \uc870\uc815\ud569\ub2c8\ub2e4.<\/li>\n<\/ol>\n<h2>\uacb0\ub860<\/h2>\n<p>\uc774\ubc88 \uac15\uc88c\uc5d0\uc11c\ub294 C#\uc744 \uc774\uc6a9\ud558\uc5ec \ubb38\uc790\uc5f4\uc5d0\uc11c \ud2b9\uc815 \ubb38\uc790\uc5f4\uc744 \ucc3e\ub294 \ubb38\uc81c\ub97c \ud574\uacb0\ud558\ub294 \ubc29\ubc95\uc5d0 \ub300\ud574 \uc54c\uc544\ubcf4\uc558\uc2b5\ub2c8\ub2e4. \uac04\ub2e8\ud55c \ubc18\ubcf5\ubb38\uc744 \uc774\uc6a9\ud55c \uc811\uadfc\ubd80\ud130 KMP \uc54c\uace0\ub9ac\uc998\uc73c\ub85c\uc758 \ud655\uc7a5\uae4c\uc9c0, \ubb38\uc790\uc5f4 \uac80\uc0c9 \ubb38\uc81c\uc5d0 \ub300\ud55c \uae30\ubcf8 \uac1c\ub150\uacfc \ud6a8\uc728\uc801\uc778 \uc811\uadfc \ubc29\ubc95\uc744 \ud559\uc2b5\ud560 \uc218 \uc788\uc5c8\uc2b5\ub2c8\ub2e4. \uc774 \ubb38\uc81c\ub97c \ud574\uacb0\ud558\ub294 \uacfc\uc815\uc5d0\uc11c \ub2e4\uc591\ud55c \ucf54\ub4dc \uad6c\ud604 \ubc29\uc2dd\uacfc \uc54c\uace0\ub9ac\uc998\uc758 \ubcf5\uc7a1\ub3c4\ub97c \uc774\ud574\ud558\ub294 \ub370 \ub3c4\uc6c0\uc774 \ub418\uc5c8\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\/String_searching_algorithm\">String searching algorithm &#8211; Wikipedia<\/a><\/li>\n<li><a href=\"https:\/\/www.geeksforgeeks.org\/kmp-algorithm-for-pattern-searching\/\">KMP Algorithm &#8211; GeeksforGeeks<\/a><\/li>\n<li><a href=\"https:\/\/stackoverflow.com\/questions\/17292073\/counting-substring-occurrences-in-c\">Counting substring occurrences in C# &#8211; Stack Overflow<\/a><\/li>\n<\/ul>\n<p><\/body><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\ubb38\uc81c \uc124\uba85 \uc5ec\ub7ec\ubd84\uc740 \ubb38\uc790\uc5f4 S\uc5d0\uc11c \ud2b9\uc815 \ubb38\uc790\uc5f4 P\uac00 \uba87 \ubc88 \ub098\ud0c0\ub098\ub294\uc9c0\ub97c \ucc3e\uc544\uc57c \ud569\ub2c8\ub2e4. \ubb38\uc790\uc5f4 P\ub294 \ubb38\uc790\uc5f4 S\uc5d0 \uc5ec\ub7ec \ubc88 \ub098\ud0c0\ub0a0 \uc218 \uc788\uc73c\uba70, \uacb9\uce58\ub294 \uacbd\uc6b0\ub3c4 \uc788\uc744 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc8fc\uc5b4\uc9c4 \ubb38\uc790\uc5f4 S\uc758 \uae38\uc774\ub294 1 \uc774\uc0c1 100,000 \uc774\ud558\uc774\uba70, \ubb38\uc790\uc5f4 P\uc758 \uae38\uc774\ub294 1 \uc774\uc0c1 100 \uc774\ud558\uc785\ub2c8\ub2e4. \ub300\uc18c\ubb38\uc790\ub294 \uad6c\ubcc4\ud558\uc9c0 \uc54a\uc2b5\ub2c8\ub2e4. \uc785\ub825 \ud615\uc2dd \uccab \ubc88\uc9f8 \uc904: \ubb38\uc790\uc5f4 S (1 \u2264 |S| &hellip; <a href=\"https:\/\/atmokpo.com\/w\/27340\/\" class=\"more-link\">\ub354 \ubcf4\uae30<span class=\"screen-reader-text\"> &#8220;C# \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ubb38\uc790\uc5f4 \ucc3e\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-27340","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, \ubb38\uc790\uc5f4 \ucc3e\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\/27340\/\" \/>\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, \ubb38\uc790\uc5f4 \ucc3e\uae30 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"og:description\" content=\"\ubb38\uc81c \uc124\uba85 \uc5ec\ub7ec\ubd84\uc740 \ubb38\uc790\uc5f4 S\uc5d0\uc11c \ud2b9\uc815 \ubb38\uc790\uc5f4 P\uac00 \uba87 \ubc88 \ub098\ud0c0\ub098\ub294\uc9c0\ub97c \ucc3e\uc544\uc57c \ud569\ub2c8\ub2e4. \ubb38\uc790\uc5f4 P\ub294 \ubb38\uc790\uc5f4 S\uc5d0 \uc5ec\ub7ec \ubc88 \ub098\ud0c0\ub0a0 \uc218 \uc788\uc73c\uba70, \uacb9\uce58\ub294 \uacbd\uc6b0\ub3c4 \uc788\uc744 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc8fc\uc5b4\uc9c4 \ubb38\uc790\uc5f4 S\uc758 \uae38\uc774\ub294 1 \uc774\uc0c1 100,000 \uc774\ud558\uc774\uba70, \ubb38\uc790\uc5f4 P\uc758 \uae38\uc774\ub294 1 \uc774\uc0c1 100 \uc774\ud558\uc785\ub2c8\ub2e4. \ub300\uc18c\ubb38\uc790\ub294 \uad6c\ubcc4\ud558\uc9c0 \uc54a\uc2b5\ub2c8\ub2e4. \uc785\ub825 \ud615\uc2dd \uccab \ubc88\uc9f8 \uc904: \ubb38\uc790\uc5f4 S (1 \u2264 |S| &hellip; \ub354 \ubcf4\uae30 &quot;C# \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ubb38\uc790\uc5f4 \ucc3e\uae30&quot;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/atmokpo.com\/w\/27340\/\" \/>\n<meta property=\"og:site_name\" content=\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"article:published_time\" content=\"2024-10-27T14:10:44+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-11-26T07:19: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\/27340\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/27340\/\"},\"author\":{\"name\":\"root\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7\"},\"headline\":\"C# \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ubb38\uc790\uc5f4 \ucc3e\uae30\",\"datePublished\":\"2024-10-27T14:10:44+00:00\",\"dateModified\":\"2024-11-26T07:19:27+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/atmokpo.com\/w\/27340\/\"},\"wordCount\":93,\"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\/27340\/\",\"url\":\"https:\/\/atmokpo.com\/w\/27340\/\",\"name\":\"C# \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ubb38\uc790\uc5f4 \ucc3e\uae30 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#website\"},\"datePublished\":\"2024-10-27T14:10:44+00:00\",\"dateModified\":\"2024-11-26T07:19:27+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/atmokpo.com\/w\/27340\/#breadcrumb\"},\"inLanguage\":\"ko-KR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/atmokpo.com\/w\/27340\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/atmokpo.com\/w\/27340\/#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, \ubb38\uc790\uc5f4 \ucc3e\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, \ubb38\uc790\uc5f4 \ucc3e\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\/27340\/","og_locale":"ko_KR","og_type":"article","og_title":"C# \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ubb38\uc790\uc5f4 \ucc3e\uae30 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","og_description":"\ubb38\uc81c \uc124\uba85 \uc5ec\ub7ec\ubd84\uc740 \ubb38\uc790\uc5f4 S\uc5d0\uc11c \ud2b9\uc815 \ubb38\uc790\uc5f4 P\uac00 \uba87 \ubc88 \ub098\ud0c0\ub098\ub294\uc9c0\ub97c \ucc3e\uc544\uc57c \ud569\ub2c8\ub2e4. \ubb38\uc790\uc5f4 P\ub294 \ubb38\uc790\uc5f4 S\uc5d0 \uc5ec\ub7ec \ubc88 \ub098\ud0c0\ub0a0 \uc218 \uc788\uc73c\uba70, \uacb9\uce58\ub294 \uacbd\uc6b0\ub3c4 \uc788\uc744 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc8fc\uc5b4\uc9c4 \ubb38\uc790\uc5f4 S\uc758 \uae38\uc774\ub294 1 \uc774\uc0c1 100,000 \uc774\ud558\uc774\uba70, \ubb38\uc790\uc5f4 P\uc758 \uae38\uc774\ub294 1 \uc774\uc0c1 100 \uc774\ud558\uc785\ub2c8\ub2e4. \ub300\uc18c\ubb38\uc790\ub294 \uad6c\ubcc4\ud558\uc9c0 \uc54a\uc2b5\ub2c8\ub2e4. \uc785\ub825 \ud615\uc2dd \uccab \ubc88\uc9f8 \uc904: \ubb38\uc790\uc5f4 S (1 \u2264 |S| &hellip; \ub354 \ubcf4\uae30 \"C# \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ubb38\uc790\uc5f4 \ucc3e\uae30\"","og_url":"https:\/\/atmokpo.com\/w\/27340\/","og_site_name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","article_published_time":"2024-10-27T14:10:44+00:00","article_modified_time":"2024-11-26T07:19: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\/27340\/#article","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/27340\/"},"author":{"name":"root","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7"},"headline":"C# \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ubb38\uc790\uc5f4 \ucc3e\uae30","datePublished":"2024-10-27T14:10:44+00:00","dateModified":"2024-11-26T07:19:27+00:00","mainEntityOfPage":{"@id":"https:\/\/atmokpo.com\/w\/27340\/"},"wordCount":93,"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\/27340\/","url":"https:\/\/atmokpo.com\/w\/27340\/","name":"C# \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ubb38\uc790\uc5f4 \ucc3e\uae30 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/#website"},"datePublished":"2024-10-27T14:10:44+00:00","dateModified":"2024-11-26T07:19:27+00:00","breadcrumb":{"@id":"https:\/\/atmokpo.com\/w\/27340\/#breadcrumb"},"inLanguage":"ko-KR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/atmokpo.com\/w\/27340\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/atmokpo.com\/w\/27340\/#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, \ubb38\uc790\uc5f4 \ucc3e\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\/27340","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=27340"}],"version-history":[{"count":1,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/27340\/revisions"}],"predecessor-version":[{"id":27341,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/27340\/revisions\/27341"}],"wp:attachment":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/media?parent=27340"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/categories?post=27340"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/tags?post=27340"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}