{"id":27752,"date":"2024-10-27T14:43:34","date_gmt":"2024-10-27T14:43:34","guid":{"rendered":"http:\/\/atmokpo.com\/w\/?p=27752"},"modified":"2024-11-26T07:15:31","modified_gmt":"2024-11-26T07:15:31","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-%ec%8b%a0%ec%9e%a5-%ed%8a%b8%eb%a6%ac-%ea%b5%ac%ed%95%98%ea%b8%b0-2","status":"publish","type":"post","link":"https:\/\/atmokpo.com\/w\/27752\/","title":{"rendered":"C++ \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ucd5c\uc18c \uc2e0\uc7a5 \ud2b8\ub9ac \uad6c\ud558\uae30"},"content":{"rendered":"<p>\ubcf8 \uac15\uc88c\uc5d0\uc11c\ub294 \ucd5c\uc18c \uc2e0\uc7a5 \ud2b8\ub9ac(Minimum Spanning Tree, MST)\uc5d0 \ub300\ud574 \ubc30\uc6cc\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. \ucd5c\uc18c \uc2e0\uc7a5 \ud2b8\ub9ac\ub294 \uac00\uc911\uce58\uac00 \uc788\ub294 \uadf8\ub798\ud504\uc5d0\uc11c \ubaa8\ub4e0 \uc815\uc810\uc744 \ud3ec\ud568\ud558\uba74\uc11c\ub3c4 \uac00\uc911\uce58\uc758 \ucd1d\ud569\uc774 \ucd5c\uc18c\uac00 \ub418\ub3c4\ub85d \ud558\ub294 \ud2b8\ub9ac\uc785\ub2c8\ub2e4. \uc774\ub7ec\ud55c \ubb38\uc81c\ub294 \uc5ec\ub7ec \ubd84\uc57c\uc5d0\uc11c \uc751\uc6a9 \uac00\ub2a5\ud558\uba70, \ud2b9\ud788 \ub124\ud2b8\uc6cc\ud06c \uc124\uacc4, \ub3c4\ub85c \uac74\uc124, \ud1b5\uc2e0\ub9dd \uad6c\ucd95 \ub4f1\uc5d0\uc11c \uc911\uc694\ud55c \uc5ed\ud560\uc744 \ud569\ub2c8\ub2e4.<\/p>\n<h2>\ubb38\uc81c \uc124\uba85<\/h2>\n<p>\ub2e4\uc74c\uacfc \uac19\uc740 \uac00\uc911\uce58\uac00 \uc788\ub294 \ubb34\ubc29\ud5a5 \uadf8\ub798\ud504\uac00 \uc8fc\uc5b4\uc84c\uc744 \ub54c, \ucd5c\uc18c \uc2e0\uc7a5 \ud2b8\ub9ac\ub97c \uad6c\ud558\uc2dc\uc624.<\/p>\n<pre><code>\uc785\ub825:\n\uccab \uc904\uc5d0 \uc815\uc810\uc758 \uc218 <em>V<\/em>\uc640 \uac04\uc120\uc758 \uc218 <em>E<\/em>\uac00 \uc8fc\uc5b4\uc9c4\ub2e4. (1 \u2264 <em>V<\/em> \u2264 1000, 1 \u2264 <em>E<\/em> \u2264 10000)\n\ub2e4\uc74c <em>E<\/em>\uc904\uc5d0\ub294 \uac01\uac01\uc758 \uac04\uc120 \uc815\ubcf4 <em>u, v, w<\/em>\uac00 \uc8fc\uc5b4\uc9c4\ub2e4. \uc774\ub294 \uc815\uc810 <em>u<\/em>\uc640 \uc815\uc810 <em>v<\/em>\ub97c \uc5f0\uacb0\ud558\ub294 \uac04\uc120\uc758 \uac00\uc911\uce58\uac00 <em>w<\/em>\ub77c\ub294 \uc758\ubbf8\uc774\ub2e4.\n\n\ucd9c\ub825:\n\ucd5c\uc18c \uc2e0\uc7a5 \ud2b8\ub9ac\uc758 \uac00\uc911\uce58 \ucd1d\ud569\uc744 \ucd9c\ub825\ud558\uc2dc\uc624.<\/code><\/pre>\n<h2>\uc608\uc81c \uc785\ub825<\/h2>\n<pre><code>3 3\n1 2 1\n2 3 2\n1 3 3\n<\/code><\/pre>\n<h2>\uc608\uc81c \ucd9c\ub825<\/h2>\n<pre><code>3\n<\/code><\/pre>\n<h2>\ud574\uacb0 \ubc29\ubc95<\/h2>\n<p>\uc774 \ubb38\uc81c\ub97c \ud574\uacb0\ud558\uae30 \uc704\ud574 Prim \uc54c\uace0\ub9ac\uc998 \ub610\ub294 Kruskal \uc54c\uace0\ub9ac\uc998\uc744 \uc0ac\uc6a9\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc5ec\uae30\uc11c\ub294 Kruskal \uc54c\uace0\ub9ac\uc998\uc744 \uc0ac\uc6a9\ud558\uc5ec \ud480\uc774\ud574\ubcf4\uaca0\uc2b5\ub2c8\ub2e4.<\/p>\n<h3>Kruskal \uc54c\uace0\ub9ac\uc998 \uc124\uba85<\/h3>\n<p>Kruskal \uc54c\uace0\ub9ac\uc998\uc740 \uac04\uc120 \uae30\ubc18\uc758 \uc54c\uace0\ub9ac\uc998\uc73c\ub85c, \ub2e4\uc74c\uacfc \uac19\uc740 \ub2e8\uacc4\ub85c \uc9c4\ud589\ub429\ub2c8\ub2e4:<\/p>\n<ol>\n<li>\ubaa8\ub4e0 \uac04\uc120\uc744 \uac00\uc911\uce58\uc758 \uc624\ub984\ucc28\uc21c\uc73c\ub85c \uc815\ub82c\ud55c\ub2e4.<\/li>\n<li>\uc815\uc810 \uc9d1\ud569\uc744 \ucd08\uae30\ud654\ud55c\ub2e4. (Union-Find \uc790\ub8cc\uad6c\uc870\ub97c \uc0ac\uc6a9)<\/li>\n<li>\uac04\uc120\uc744 \ud558\ub098\uc529 \uc120\ud0dd\ud558\uc5ec \ub450 \uc815\uc810\uc774 \uc11c\ub85c \uc5f0\uacb0\ub418\uc5b4 \uc788\uc9c0 \uc54a\uc73c\uba74 \uc774 \uac04\uc120\uc744 \uc120\ud0dd\ud55c\ub2e4. \uc774\ub7f0 \uacfc\uc815\uc744 \ubc18\ubcf5\ud558\uc5ec \ubaa8\ub4e0 \uc815\uc810\uc744 \uc5f0\uacb0\ud558\ub294 \ucd5c\uc18c \uc2e0\uc7a5 \ud2b8\ub9ac\ub97c \ub9cc\ub4e0\ub2e4.<\/li>\n<\/ol>\n<h3>\ucf54\ub4dc \uad6c\ud604<\/h3>\n<p>\uc774\uc81c C++\ub85c Kruskal \uc54c\uace0\ub9ac\uc998\uc744 \uad6c\ud604\ud574\ubcf4\uaca0\uc2b5\ub2c8\ub2e4.<\/p>\n<pre><code>#include &lt;iostream&gt;\n#include &lt;vector&gt;\n#include &lt;algorithm&gt;\n\nusing namespace std;\n\nstruct Edge {\n    int u, v, weight;\n};\n\nbool compare(Edge a, Edge b) {\n    return a.weight &lt; b.weight;\n}\n\nint find(int parent[], int x) {\n    if (parent[x] != x) {\n        parent[x] = find(parent, parent[x]);\n    }\n    return parent[x];\n}\n\nvoid unionSet(int parent[], int rank[], int x, int y) {\n    int rootX = find(parent, x);\n    int rootY = find(parent, y);\n\n    if (rootX != rootY) {\n        if (rank[rootX] &lt; rank[rootY]) {\n            parent[rootX] = rootY;\n        } else if (rank[rootX] &gt; rank[rootY]) {\n            parent[rootY] = rootX;\n        } else {\n            parent[rootY] = rootX;\n            rank[rootX]++;\n        }\n    }\n}\n\nint kruskal(int V, vector<edge>&amp; edges) {\n    sort(edges.begin(), edges.end(), compare);\n    int parent[V + 1];\n    int rank[V + 1];\n    for (int i = 0; i &lt;= V; i++) {\n        parent[i] = i;\n        rank[i] = 0;\n    }\n\n    int totalWeight = 0;\n    for (Edge edge : edges) {\n        if (find(parent, edge.u) != find(parent, edge.v)) {\n            totalWeight += edge.weight;\n            unionSet(parent, rank, edge.u, edge.v);\n        }\n    }\n    return totalWeight;\n}\n\nint main() {\n    int V, E;\n    cin &gt;&gt; V &gt;&gt; E;\n    vector<edge> edges(E);\n    for (int i = 0; i &lt; E; i++) {\n        cin &gt;&gt; edges[i].u &gt;&gt; edges[i].v &gt;&gt; edges[i].weight;\n    }\n    cout &lt;&lt; kruskal(V, edges) &lt;&lt; endl;\n    return 0;\n}\n<\/edge><\/edge><\/code><\/pre>\n<h2>\ucf54\ub4dc \uc124\uba85<\/h2>\n<p>\uba3c\uc800, Edge \uad6c\uc870\uccb4\ub97c \uc815\uc758\ud558\uace0 \ube44\uad50 \ud568\uc218\ub85c \uac00\uc911\uce58\ub97c \uae30\uc900\uc73c\ub85c \uc815\ub82c\ud569\ub2c8\ub2e4.<\/p>\n<p><b>find<\/b> \ud568\uc218\ub294 \uacbd\ub85c \uc555\ucd95 \uae30\ubc95\uc744 \uc0ac\uc6a9\ud558\uc5ec \ud6a8\uc728\uc801\uc73c\ub85c \ubd80\ubaa8 \ub178\ub4dc\ub97c \ucc3e\uc2b5\ub2c8\ub2e4. <b>unionSet<\/b> \ud568\uc218\ub294 \ub450 \uc815\uc810\uc758 \uc9d1\ud569\uc744 \ud569\uce58\ub294 \uc5ed\ud560\uc744 \ud558\uba70, \ub7ad\ud06c\ub97c \uc0ac\uc6a9\ud558\uc5ec \ud2b8\ub9ac\uac00 \ub108\ubb34 \ucee4\uc9c0\uc9c0 \uc54a\ub3c4\ub85d \ud569\ub2c8\ub2e4.<\/p>\n<p>\uba54\uc778 \ud568\uc218\uc5d0\uc11c\ub294 \uc785\ub825\uc744 \ubc1b\uace0 Kruskal \uc54c\uace0\ub9ac\uc998\uc744 \ud1b5\ud574 \ucd5c\uc18c \uc2e0\uc7a5 \ud2b8\ub9ac\uc758 \uac00\uc911\uce58 \ucd1d\ud569\uc744 \uad6c\ud558\uc5ec \ucd9c\ub825\ud569\ub2c8\ub2e4.<\/p>\n<h2>\ubcf5\uc7a1\ub3c4 \ubd84\uc11d<\/h2>\n<p>Kruskal \uc54c\uace0\ub9ac\uc998\uc758 \uc2dc\uac04 \ubcf5\uc7a1\ub3c4\ub294 O(E log E)\uc785\ub2c8\ub2e4. \uc774\ub294 \uac04\uc120 \uc815\ub82c\uc5d0 \uc18c\uc694\ub418\ub294 \uc2dc\uac04\uc785\ub2c8\ub2e4. Union-Find\uc758 \uc5f0\uc0b0\uc744 \ucd5c\uc801\ud654\ud560 \uacbd\uc6b0 \ub9e4\uc6b0 \ud6a8\uc728\uc801\uc778 \uc54c\uace0\ub9ac\uc998\uc73c\ub85c \uc791\ub3d9\ud569\ub2c8\ub2e4.<\/p>\n<h2>\uacb0\ub860<\/h2>\n<p>\ucd5c\uc18c \uc2e0\uc7a5 \ud2b8\ub9ac\ub294 \ub9ce\uc740 \uc2e4\uc81c \ubb38\uc81c\uc5d0\uc11c \uc0ac\uc6a9\ub418\ubbc0\ub85c \uc774\ub97c \uccb4\uacc4\uc801\uc73c\ub85c \uc774\ud574\ud558\ub294 \uac83\uc774 \uc911\uc694\ud569\ub2c8\ub2e4. \ubcf8 \uc608\uc81c\ub97c \ud1b5\ud574 Kruskal \uc54c\uace0\ub9ac\uc998\uc744 \uc801\uc6a9\ud558\uc5ec MST\ub97c \ucc3e\ub294 \ubc29\ubc95\uc744 \ud559\uc2b5\ud558\uc600\uc73c\uba70, \ub2e4\uc591\ud55c \ubcc0\ud615 \ubb38\uc81c\uc5d0\ub3c4 \uc801\uc6a9\ud560 \uc218 \uc788\ub294 \uae30\ubc18 \uc774\ub860\uc744 \uc2b5\ub4dd\ud558\uac8c \ub418\uc5c8\uc2b5\ub2c8\ub2e4. \ucd94\uac00\uc801\uc73c\ub85c Prim \uc54c\uace0\ub9ac\uc998\ub3c4 \uc2e4\uc2b5\ud574\ubcf4\uc2dc\uae38 \uad8c\uc7a5\ud569\ub2c8\ub2e4.<\/p>\n<p>\ub2e4\uc74c \uac15\uc88c\uc5d0\uc11c\ub294 \ucd5c\uc18c \uc2e0\uc7a5 \ud2b8\ub9ac\uc5d0 \ub300\ud55c \ub2e4\ub978 \uc54c\uace0\ub9ac\uc998\uc774\ub098 \ub2e4\uc591\ud55c \ubb38\uc81c \ud480\uae30\ub97c \ub2e4\ub8f0 \uc608\uc815\uc774\ub2c8 \ub9ce\uc740 \uae30\ub300 \ubc14\ub78d\ub2c8\ub2e4.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\ubcf8 \uac15\uc88c\uc5d0\uc11c\ub294 \ucd5c\uc18c \uc2e0\uc7a5 \ud2b8\ub9ac(Minimum Spanning Tree, MST)\uc5d0 \ub300\ud574 \ubc30\uc6cc\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. \ucd5c\uc18c \uc2e0\uc7a5 \ud2b8\ub9ac\ub294 \uac00\uc911\uce58\uac00 \uc788\ub294 \uadf8\ub798\ud504\uc5d0\uc11c \ubaa8\ub4e0 \uc815\uc810\uc744 \ud3ec\ud568\ud558\uba74\uc11c\ub3c4 \uac00\uc911\uce58\uc758 \ucd1d\ud569\uc774 \ucd5c\uc18c\uac00 \ub418\ub3c4\ub85d \ud558\ub294 \ud2b8\ub9ac\uc785\ub2c8\ub2e4. \uc774\ub7ec\ud55c \ubb38\uc81c\ub294 \uc5ec\ub7ec \ubd84\uc57c\uc5d0\uc11c \uc751\uc6a9 \uac00\ub2a5\ud558\uba70, \ud2b9\ud788 \ub124\ud2b8\uc6cc\ud06c \uc124\uacc4, \ub3c4\ub85c \uac74\uc124, \ud1b5\uc2e0\ub9dd \uad6c\ucd95 \ub4f1\uc5d0\uc11c \uc911\uc694\ud55c \uc5ed\ud560\uc744 \ud569\ub2c8\ub2e4. \ubb38\uc81c \uc124\uba85 \ub2e4\uc74c\uacfc \uac19\uc740 \uac00\uc911\uce58\uac00 \uc788\ub294 \ubb34\ubc29\ud5a5 \uadf8\ub798\ud504\uac00 \uc8fc\uc5b4\uc84c\uc744 \ub54c, \ucd5c\uc18c \uc2e0\uc7a5 \ud2b8\ub9ac\ub97c &hellip; <a href=\"https:\/\/atmokpo.com\/w\/27752\/\" class=\"more-link\">\ub354 \ubcf4\uae30<span class=\"screen-reader-text\"> &#8220;C++ \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ucd5c\uc18c \uc2e0\uc7a5 \ud2b8\ub9ac \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":[25],"tags":[],"class_list":["post-27752","post","type-post","status-publish","format-standard","hentry","category-c---2"],"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 \uc2e0\uc7a5 \ud2b8\ub9ac \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\/27752\/\" \/>\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 \uc2e0\uc7a5 \ud2b8\ub9ac \uad6c\ud558\uae30 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"og:description\" content=\"\ubcf8 \uac15\uc88c\uc5d0\uc11c\ub294 \ucd5c\uc18c \uc2e0\uc7a5 \ud2b8\ub9ac(Minimum Spanning Tree, MST)\uc5d0 \ub300\ud574 \ubc30\uc6cc\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. \ucd5c\uc18c \uc2e0\uc7a5 \ud2b8\ub9ac\ub294 \uac00\uc911\uce58\uac00 \uc788\ub294 \uadf8\ub798\ud504\uc5d0\uc11c \ubaa8\ub4e0 \uc815\uc810\uc744 \ud3ec\ud568\ud558\uba74\uc11c\ub3c4 \uac00\uc911\uce58\uc758 \ucd1d\ud569\uc774 \ucd5c\uc18c\uac00 \ub418\ub3c4\ub85d \ud558\ub294 \ud2b8\ub9ac\uc785\ub2c8\ub2e4. \uc774\ub7ec\ud55c \ubb38\uc81c\ub294 \uc5ec\ub7ec \ubd84\uc57c\uc5d0\uc11c \uc751\uc6a9 \uac00\ub2a5\ud558\uba70, \ud2b9\ud788 \ub124\ud2b8\uc6cc\ud06c \uc124\uacc4, \ub3c4\ub85c \uac74\uc124, \ud1b5\uc2e0\ub9dd \uad6c\ucd95 \ub4f1\uc5d0\uc11c \uc911\uc694\ud55c \uc5ed\ud560\uc744 \ud569\ub2c8\ub2e4. \ubb38\uc81c \uc124\uba85 \ub2e4\uc74c\uacfc \uac19\uc740 \uac00\uc911\uce58\uac00 \uc788\ub294 \ubb34\ubc29\ud5a5 \uadf8\ub798\ud504\uac00 \uc8fc\uc5b4\uc84c\uc744 \ub54c, \ucd5c\uc18c \uc2e0\uc7a5 \ud2b8\ub9ac\ub97c &hellip; \ub354 \ubcf4\uae30 &quot;C++ \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ucd5c\uc18c \uc2e0\uc7a5 \ud2b8\ub9ac \uad6c\ud558\uae30&quot;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/atmokpo.com\/w\/27752\/\" \/>\n<meta property=\"og:site_name\" content=\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"article:published_time\" content=\"2024-10-27T14:43:34+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-11-26T07:15:31+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\/27752\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/27752\/\"},\"author\":{\"name\":\"root\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7\"},\"headline\":\"C++ \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ucd5c\uc18c \uc2e0\uc7a5 \ud2b8\ub9ac \uad6c\ud558\uae30\",\"datePublished\":\"2024-10-27T14:43:34+00:00\",\"dateModified\":\"2024-11-26T07:15:31+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/atmokpo.com\/w\/27752\/\"},\"wordCount\":26,\"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\/27752\/\",\"url\":\"https:\/\/atmokpo.com\/w\/27752\/\",\"name\":\"C++ \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ucd5c\uc18c \uc2e0\uc7a5 \ud2b8\ub9ac \uad6c\ud558\uae30 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#website\"},\"datePublished\":\"2024-10-27T14:43:34+00:00\",\"dateModified\":\"2024-11-26T07:15:31+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/atmokpo.com\/w\/27752\/#breadcrumb\"},\"inLanguage\":\"ko-KR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/atmokpo.com\/w\/27752\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/atmokpo.com\/w\/27752\/#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 \uc2e0\uc7a5 \ud2b8\ub9ac \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 \uc2e0\uc7a5 \ud2b8\ub9ac \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\/27752\/","og_locale":"ko_KR","og_type":"article","og_title":"C++ \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ucd5c\uc18c \uc2e0\uc7a5 \ud2b8\ub9ac \uad6c\ud558\uae30 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","og_description":"\ubcf8 \uac15\uc88c\uc5d0\uc11c\ub294 \ucd5c\uc18c \uc2e0\uc7a5 \ud2b8\ub9ac(Minimum Spanning Tree, MST)\uc5d0 \ub300\ud574 \ubc30\uc6cc\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. \ucd5c\uc18c \uc2e0\uc7a5 \ud2b8\ub9ac\ub294 \uac00\uc911\uce58\uac00 \uc788\ub294 \uadf8\ub798\ud504\uc5d0\uc11c \ubaa8\ub4e0 \uc815\uc810\uc744 \ud3ec\ud568\ud558\uba74\uc11c\ub3c4 \uac00\uc911\uce58\uc758 \ucd1d\ud569\uc774 \ucd5c\uc18c\uac00 \ub418\ub3c4\ub85d \ud558\ub294 \ud2b8\ub9ac\uc785\ub2c8\ub2e4. \uc774\ub7ec\ud55c \ubb38\uc81c\ub294 \uc5ec\ub7ec \ubd84\uc57c\uc5d0\uc11c \uc751\uc6a9 \uac00\ub2a5\ud558\uba70, \ud2b9\ud788 \ub124\ud2b8\uc6cc\ud06c \uc124\uacc4, \ub3c4\ub85c \uac74\uc124, \ud1b5\uc2e0\ub9dd \uad6c\ucd95 \ub4f1\uc5d0\uc11c \uc911\uc694\ud55c \uc5ed\ud560\uc744 \ud569\ub2c8\ub2e4. \ubb38\uc81c \uc124\uba85 \ub2e4\uc74c\uacfc \uac19\uc740 \uac00\uc911\uce58\uac00 \uc788\ub294 \ubb34\ubc29\ud5a5 \uadf8\ub798\ud504\uac00 \uc8fc\uc5b4\uc84c\uc744 \ub54c, \ucd5c\uc18c \uc2e0\uc7a5 \ud2b8\ub9ac\ub97c &hellip; \ub354 \ubcf4\uae30 \"C++ \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ucd5c\uc18c \uc2e0\uc7a5 \ud2b8\ub9ac \uad6c\ud558\uae30\"","og_url":"https:\/\/atmokpo.com\/w\/27752\/","og_site_name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","article_published_time":"2024-10-27T14:43:34+00:00","article_modified_time":"2024-11-26T07:15:31+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\/27752\/#article","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/27752\/"},"author":{"name":"root","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7"},"headline":"C++ \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ucd5c\uc18c \uc2e0\uc7a5 \ud2b8\ub9ac \uad6c\ud558\uae30","datePublished":"2024-10-27T14:43:34+00:00","dateModified":"2024-11-26T07:15:31+00:00","mainEntityOfPage":{"@id":"https:\/\/atmokpo.com\/w\/27752\/"},"wordCount":26,"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\/27752\/","url":"https:\/\/atmokpo.com\/w\/27752\/","name":"C++ \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ucd5c\uc18c \uc2e0\uc7a5 \ud2b8\ub9ac \uad6c\ud558\uae30 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/#website"},"datePublished":"2024-10-27T14:43:34+00:00","dateModified":"2024-11-26T07:15:31+00:00","breadcrumb":{"@id":"https:\/\/atmokpo.com\/w\/27752\/#breadcrumb"},"inLanguage":"ko-KR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/atmokpo.com\/w\/27752\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/atmokpo.com\/w\/27752\/#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 \uc2e0\uc7a5 \ud2b8\ub9ac \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":[{"id":27621,"url":"https:\/\/atmokpo.com\/w\/27621\/","url_meta":{"origin":27752,"position":0},"title":"C++ \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ubca8\ub9cc-\ud3ec\ub4dc","author":"root","date":"2024\ub144 10\uc6d4 27\uc77c","format":false,"excerpt":"\uc791\uc131\uc790: [\uc870\uad11\ud615] \ub0a0\uc9dc: [\ub0a0\uc9dc] 1. \uac1c\uc694 \ucf54\ub529\ud14c\uc2a4\ud2b8\ub294 \uc18c\ud504\ud2b8\uc6e8\uc5b4 \uac1c\ubc1c \uc9c1\uad70\uc5d0 \uc9c0\uc6d0\ud568\uc5d0 \uc788\uc5b4 \ud544\uc218\uc801\uc73c\ub85c \uc694\uad6c\ub418\ub294 \uacfc\uc815\uc785\ub2c8\ub2e4. \ub9ce\uc740 \uae30\uc5c5\ub4e4\uc774 \ub2e4\uc591\ud55c \uc54c\uace0\ub9ac\uc998 \ubb38\uc81c\ub97c \ud1b5\ud574 \uc9c0\uc6d0\uc790\uc758 \ubb38\uc81c\ud574\uacb0 \ub2a5\ub825\uc744 \ud3c9\uac00\ud558\uace0, \uc774\ub97c \uc704\ud574 \ubca8\ub9cc-\ud3ec\ub4dc \uc54c\uace0\ub9ac\uc998\uc744 \uc774\ud574\ud558\uace0 \ud65c\uc6a9\ud558\ub294 \ub2a5\ub825\uc774 \uc911\uc694\ud569\ub2c8\ub2e4. \ubcf8 \uac15\uc88c\uc5d0\uc11c\ub294 \ubca8\ub9cc-\ud3ec\ub4dc \uc54c\uace0\ub9ac\uc998\uc744 \uc18c\uac1c\ud558\uace0, C++\ub97c \uc774\uc6a9\ud558\uc5ec \uc2e4\uc2b5\ud574\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. 2. \uc54c\uace0\ub9ac\uc998 \uc18c\uac1c \ubca8\ub9cc-\ud3ec\ub4dc \uc54c\uace0\ub9ac\uc998(Bellman-Ford Algorithm)\uc740 \uc8fc\uc5b4\uc9c4 \ucd9c\ubc1c\uc810\uc5d0\uc11c \ubaa8\ub4e0\u2026","rel":"","context":"&quot;C++ \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c&quot;\uc5d0\uc11c","block_context":{"text":"C++ \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c","link":"https:\/\/atmokpo.com\/w\/category\/c-%ec%bd%94%eb%94%a9%ed%85%8c%ec%8a%a4%ed%8a%b8-%ea%b0%95%ec%a2%8c-2\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":27825,"url":"https:\/\/atmokpo.com\/w\/27825\/","url_meta":{"origin":27752,"position":1},"title":"\uc790\ubc14\uc2a4\ud06c\ub9bd\ud2b8 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ud50c\ub85c\uc774\ub4dc-\uc6cc\uc15c","author":"root","date":"2024\ub144 10\uc6d4 27\uc77c","format":false,"excerpt":"\uc791\uc131\uc790: \uc870\uad11\ud615 \uc791\uc131\uc77c: 2024\ub144 11\uc6d4 26\uc77c \ubaa9\ucc28 1. \uc18c\uac1c 2. \ubb38\uc81c \uc124\uba85 3. \ud50c\ub85c\uc774\ub4dc-\uc6cc\uc15c \uc54c\uace0\ub9ac\uc998 \uc774\ud574 4. \uc790\ubc14\uc2a4\ud06c\ub9bd\ud2b8 \uad6c\ud604 5. \uc2dc\uac04 \ubcf5\uc7a1\ub3c4 6. \uacb0\ub860 1. \uc18c\uac1c \ucf54\ub529\ud14c\uc2a4\ud2b8\uc5d0\uc11c \uc54c\uace0\ub9ac\uc998 \ubb38\uc81c\ub294 \ube48\ubc88\ud558\uac8c \ucd9c\uc81c\ub418\uba70, \ub2e4\uc591\ud55c \uc54c\uace0\ub9ac\uc998\uc744 \uc774\ud574\ud558\uace0 \uad6c\ud604\ud560 \uc218 \uc788\ub294 \ub2a5\ub825\uc774 \uc911\uc694\ud569\ub2c8\ub2e4. \uc774 \uac15\uc88c\uc5d0\uc11c\ub294 \ud50c\ub85c\uc774\ub4dc-\uc6cc\uc15c(Floyd-Warshall) \uc54c\uace0\ub9ac\uc998\uc5d0 \ub300\ud574 \ub2e4\ub8e8\uace0, \uc774\ub97c \uc790\ubc14\uc2a4\ud06c\ub9bd\ud2b8\ub85c \uad6c\ud604\ud558\ub294 \ubc29\ubc95\uc744 \ubc30\uc6c1\ub2c8\ub2e4.\u2026","rel":"","context":"&quot;\uc790\ubc14\uc2a4\ud06c\ub9bd\ud2b8 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c&quot;\uc5d0\uc11c","block_context":{"text":"\uc790\ubc14\uc2a4\ud06c\ub9bd\ud2b8 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c","link":"https:\/\/atmokpo.com\/w\/category\/%ec%9e%90%eb%b0%94%ec%8a%a4%ed%81%ac%eb%a6%bd%ed%8a%b8-%ec%bd%94%eb%94%a9%ed%85%8c%ec%8a%a4%ed%8a%b8-%ea%b0%95%ec%a2%8c\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":27254,"url":"https:\/\/atmokpo.com\/w\/27254\/","url_meta":{"origin":27752,"position":2},"title":"C# \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uadf8\ub798\ud504\uc758 \ud45c\ud604","author":"root","date":"2024\ub144 10\uc6d4 27\uc77c","format":false,"excerpt":"\uc791\uc131\uc790: \uc870\uad11\ud615 | \ub0a0\uc9dc: [\ub0a0\uc9dc] \uc11c\ub860 \ucf54\ub529 \ud14c\uc2a4\ud2b8\uc5d0\uc11c \uc54c\uace0\ub9ac\uc998\uc740 \ub9e4\uc6b0 \uc911\uc694\ud55c \uc5ed\ud560\uc744 \ud569\ub2c8\ub2e4. \ud2b9\ud788, \uadf8\ub798\ud504 \uc54c\uace0\ub9ac\uc998\uc740 \ubb38\uc81c \ud574\uacb0 \ub2a5\ub825\uc744 \ud3c9\uac00\ud558\ub294 \ub370 \uc788\uc5b4 \uc790\uc8fc \ub4f1\uc7a5\ud558\ub294 \uc8fc\uc81c \uc911 \ud558\ub098\uc785\ub2c8\ub2e4. \uc774\ubc88 \uae00\uc5d0\uc11c\ub294 C#\uc744 \ud65c\uc6a9\ud558\uc5ec \uadf8\ub798\ud504\ub97c \ud45c\ud604\ud558\ub294 \ubc29\ubc95\uacfc \ud568\uaed8, \uadf8\ub798\ud504\ub97c \uc774\uc6a9\ud55c \uc54c\uace0\ub9ac\uc998 \ubb38\uc81c\ub97c \ud574\uacb0\ud558\ub294 \uacfc\uc815\uc5d0 \ub300\ud574 \uc790\uc138\ud788 \uc54c\uc544\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. \uadf8\ub798\ud504\ub780 \ubb34\uc5c7\uc778\uac00? \uadf8\ub798\ud504\ub294 \ub178\ub4dc(\ub610\ub294 \uc815\uc810)\uc640 \uc774\ub4e4\u2026","rel":"","context":"&quot;C# \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c&quot;\uc5d0\uc11c","block_context":{"text":"C# \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c","link":"https:\/\/atmokpo.com\/w\/category\/c-%ec%bd%94%eb%94%a9%ed%85%8c%ec%8a%a4%ed%8a%b8-%ea%b0%95%ec%a2%8c\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":28403,"url":"https:\/\/atmokpo.com\/w\/28403\/","url_meta":{"origin":27752,"position":3},"title":"\ucf54\ud2c0\ub9b0 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uadf8\ub798\ud504\uc758 \ud45c\ud604","author":"root","date":"2024\ub144 10\uc6d4 27\uc77c","format":false,"excerpt":"\uc548\ub155\ud558\uc138\uc694! \uc624\ub298\uc740 \ucf54\ud2c0\ub9b0\uc744 \uc0ac\uc6a9\ud558\uc5ec \ucf54\ub529\ud14c\uc2a4\ud2b8\uc5d0\uc11c \uc790\uc8fc \ub098\uc624\ub294 \uadf8\ub798\ud504\uc758 \ud45c\ud604 \ubc29\ubc95\uc5d0 \ub300\ud574 \uc790\uc138\ud788 \uc54c\uc544\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. \uadf8\ub798\ud504\ub294 \uc5ec\ub7ec \ubd84\uc57c\uc5d0\uc11c \uaf64 \uc911\uc694\ud55c \uc790\ub8cc\uad6c\uc870\ub85c, \ub2e4\uc591\ud55c \ubb38\uc81c\ub97c \ud574\uacb0\ud560 \ub54c \ud544\uc218\uc801\uc778 \uadfc\ubcf8\uae30\ub2a5\uc744 \uac00\uc9c0\uace0 \uc788\uc2b5\ub2c8\ub2e4. \uc774\ubc88 \uae00\uc5d0\uc11c\ub294 \uadf8\ub798\ud504\ub97c \uc5b4\ub5bb\uac8c \ud45c\ud604\ud558\uace0, \uadf8 \ud45c\ud604\uc744 \uc0ac\uc6a9\ud558\uc5ec \ubb38\uc81c\ub97c \ud574\uacb0\ud558\ub294 \ubc29\ubc95\uc744 \uc124\uba85\ud558\uaca0\uc2b5\ub2c8\ub2e4. \uadf8\ub798\ud504\ub780 \ubb34\uc5c7\uc778\uac00? \uadf8\ub798\ud504\ub294 \ub178\ub4dc(\uc815\uc810)\uc640 \uc5e3\uc9c0(\uac04\uc120)\ub85c \uad6c\uc131\ub41c \uc790\ub8cc\uad6c\uc870\uc785\ub2c8\ub2e4. \ub178\ub4dc\ub294 \uac1d\uccb4\ub97c \ub098\ud0c0\ub0b4\uba70, \uc5e3\uc9c0\ub294\u2026","rel":"","context":"&quot;\ucf54\ud2c0\ub9b0 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c&quot;\uc5d0\uc11c","block_context":{"text":"\ucf54\ud2c0\ub9b0 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c","link":"https:\/\/atmokpo.com\/w\/category\/%ec%bd%94%ed%8b%80%eb%a6%b0-%ec%bd%94%eb%94%a9%ed%85%8c%ec%8a%a4%ed%8a%b8-%ea%b0%95%ec%a2%8c\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":28550,"url":"https:\/\/atmokpo.com\/w\/28550\/","url_meta":{"origin":27752,"position":4},"title":"\ucf54\ud2c0\ub9b0 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uc784\uacc4 \uacbd\ub85c \uad6c\ud558\uae30","author":"root","date":"2024\ub144 10\uc6d4 27\uc77c","format":false,"excerpt":"\uc791\uc131\uc77c: 2023\ub144 10\uc6d4 1\uc77c \uc791\uc131\uc790: \uc870\uad11\ud615 \ubb38\uc81c \uc815\uc758 \uc8fc\uc5b4\uc9c4 \uc5f0\uacb0\ub41c \uadf8\ub798\ud504\uc5d0\uc11c \uc2dc\uc791 \ub178\ub4dc\ubd80\ud130 \ub3c4\ucc29 \ub178\ub4dc\uae4c\uc9c0\uc758 \uc784\uacc4 \uacbd\ub85c\ub97c \uad6c\ud558\ub294 \ubb38\uc81c\uc785\ub2c8\ub2e4. \uc784\uacc4 \uacbd\ub85c\ub780 \uadf8\ub798\ud504\uc5d0\uc11c \uc694\uad6c\ub418\ub294 \uc791\uc5c5\uc744 \uc218\ud589\ud558\ub294 \ub370 \ud544\uc694\ud55c \ucd5c\uc18c \uc2dc\uac04 \ub610\ub294 \uac70\ub9ac\ub97c \ub098\ud0c0\ub0b4\uba70, \ud504\ub85c\uc81d\ud2b8 \uad00\ub9ac \ubc0f \uc790\uc6d0\uc758 \ucd5c\uc801 \ubc30\ubd84\uc5d0 \uc911\uc694\ud55c \uc5ed\ud560\uc744 \ud569\ub2c8\ub2e4. \uc608\ub97c \ub4e4\uc5b4, \uac01 \uc791\uc5c5\uc774 \uc644\ub8cc\ub418\ub294 \ub370 \uac78\ub9ac\ub294 \uc2dc\uac04\uc744 \ub098\ud0c0\ub0b4\ub294\u2026","rel":"","context":"&quot;\ucf54\ud2c0\ub9b0 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c&quot;\uc5d0\uc11c","block_context":{"text":"\ucf54\ud2c0\ub9b0 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c","link":"https:\/\/atmokpo.com\/w\/category\/%ec%bd%94%ed%8b%80%eb%a6%b0-%ec%bd%94%eb%94%a9%ed%85%8c%ec%8a%a4%ed%8a%b8-%ea%b0%95%ec%a2%8c\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":27308,"url":"https:\/\/atmokpo.com\/w\/27308\/","url_meta":{"origin":27752,"position":5},"title":"C# \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ucd5c\uc18c \uacf5\ud1b5 \uc870\uc0c1 \uad6c\ud558\uae30 2","author":"root","date":"2024\ub144 10\uc6d4 27\uc77c","format":false,"excerpt":"\uc791\uc131\uc790: \uc870\uad11\ud615 \uc791\uc131\uc77c: 2024\ub144 11\uc6d4 26\uc77c \uc18c\uac1c \ubcf8 \uac15\uc88c\uc5d0\uc11c\ub294 C# \ud504\ub85c\uadf8\ub798\ubc0d \uc5b8\uc5b4\ub97c \uc0ac\uc6a9\ud558\uc5ec '\ucd5c\uc18c \uacf5\ud1b5 \uc870\uc0c1(LCA; Lowest Common Ancestor)' \ubb38\uc81c\ub97c \ud574\uacb0\ud558\ub294 \ubc29\ubc95\uc5d0 \ub300\ud574 \ub2e4\ub8f0 \uac83\uc785\ub2c8\ub2e4. \ucd5c\uc18c \uacf5\ud1b5 \uc870\uc0c1\uc740 \uc774\uc9c4 \ud2b8\ub9ac\uc5d0\uc11c \ub450 \ub178\ub4dc\uc758 \uacf5\ud1b5 \uc870\uc0c1 \uc911 \uac00\uc7a5 \uae4a\uc740 \ub178\ub4dc\ub97c \uc758\ubbf8\ud569\ub2c8\ub2e4. \ud2b9\uc815 \uc54c\uace0\ub9ac\uc998 \ubc0f \uc790\ub8cc \uad6c\uc870\ub97c \ud65c\uc6a9\ud558\uc5ec \uc774 \ubb38\uc81c\ub97c \ud574\uacb0\ud558\ub294 \uacfc\uc815\uc744 \uc790\uc138\ud788\u2026","rel":"","context":"&quot;C# \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c&quot;\uc5d0\uc11c","block_context":{"text":"C# \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c","link":"https:\/\/atmokpo.com\/w\/category\/c-%ec%bd%94%eb%94%a9%ed%85%8c%ec%8a%a4%ed%8a%b8-%ea%b0%95%ec%a2%8c\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/27752","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=27752"}],"version-history":[{"count":1,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/27752\/revisions"}],"predecessor-version":[{"id":27753,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/27752\/revisions\/27753"}],"wp:attachment":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/media?parent=27752"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/categories?post=27752"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/tags?post=27752"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}