{"id":27736,"date":"2024-10-27T14:43:29","date_gmt":"2024-10-27T14:43:29","guid":{"rendered":"http:\/\/atmokpo.com\/w\/?p=27736"},"modified":"2024-11-26T07:15:43","modified_gmt":"2024-11-26T07:15:43","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%eb%8b%a8-%ea%b2%bd%eb%a1%9c-%ea%b5%ac%ed%95%98%ea%b8%b0-2","status":"publish","type":"post","link":"https:\/\/atmokpo.com\/w\/27736\/","title":{"rendered":"C++ \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ucd5c\ub2e8 \uacbd\ub85c \uad6c\ud558\uae30"},"content":{"rendered":"<p><body><\/p>\n<h2>1. \ubb38\uc81c \uc815\uc758<\/h2>\n<p>\ucd5c\ub2e8 \uacbd\ub85c \uad6c\ud558\uae30 \ubb38\uc81c\ub294 \uc8fc\uc5b4\uc9c4 \uadf8\ub798\ud504\uc5d0\uc11c \ub450 \uc815\uc810 \uc0ac\uc774\uc758 \ucd5c\uc18c \uac70\ub9ac\ub97c \ucc3e\ub294 \ubb38\uc81c\uc785\ub2c8\ub2e4. \uadf8\ub798\ud504\ub294 \ub178\ub4dc(\uc815\uc810)\uc640 \uc774\ub4e4\uc744 \uc5f0\uacb0\ud558\ub294 \uac04\uc120(\uc5e3\uc9c0)\uc73c\ub85c \uad6c\uc131\ub418\uba70, \uac01 \uac04\uc120\uc740 \uac70\ub9ac \ub610\ub294 \uac00\uc911\uce58\ub85c \ud45c\ud604\ub429\ub2c8\ub2e4.<\/p>\n<p>\uc608\ub97c \ub4e4\uc5b4, \ub2e4\uc74c\uacfc \uac19\uc740 \uadf8\ub798\ud504\uac00 \uc788\ub2e4\uace0 \uac00\uc815\ud569\uc2dc\ub2e4. \uc5ec\uae30\uc11c A, B, C, D\ub294 \ub178\ub4dc\uc774\uba70, \uac04\uc120\uc740 \ub2e4\uc74c\uacfc \uac19\uc740 \uac00\uc911\uce58\ub97c \uac00\uc9d1\ub2c8\ub2e4:<\/p>\n<pre>\n    A --1-- B\n    |      \/|\n    4     2 |\n    |  \/      |\n    C --3-- D\n    <\/pre>\n<p>\ubb38\uc81c\ub294 \ub450 \ub178\ub4dc A\uc640 D \uac04\uc758 \ucd5c\ub2e8 \uacbd\ub85c\ub97c \uad6c\ud558\ub294 \uac83\uc785\ub2c8\ub2e4.<\/p>\n<h2>2. \uc54c\uace0\ub9ac\uc998 \uc120\ud0dd<\/h2>\n<p>\ucd5c\ub2e8 \uacbd\ub85c \uad6c\ud558\uae30 \ubb38\uc81c\ub97c \ud574\uacb0\ud558\uae30 \uc704\ud574 \uc77c\ubc18\uc801\uc73c\ub85c \uc0ac\uc6a9\ud558\ub294 \uc54c\uace0\ub9ac\uc998\uc740 \ub2e4\uc775\uc2a4\ud2b8\ub77c(Dijkstra) \uc54c\uace0\ub9ac\uc998\uacfc \ubca8\ub9cc-\ud3ec\ub4dc(Bellman-Ford) \uc54c\uace0\ub9ac\uc998\uc774 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<p>\uc774 \ubb38\uc81c\uc5d0\uc11c\ub294 \ub2e4\uc775\uc2a4\ud2b8\ub77c \uc54c\uace0\ub9ac\uc998\uc744 \uc0ac\uc6a9\ud558\uaca0\uc2b5\ub2c8\ub2e4. \ub2e4\uc775\uc2a4\ud2b8\ub77c \uc54c\uace0\ub9ac\uc998\uc740 \uac00\uc911\uce58\uac00 \uc74c\uc218\uac00 \uc544\ub2cc \uadf8\ub798\ud504\uc5d0\uc11c \ucd5c\ub2e8 \uacbd\ub85c\ub97c \ucc3e\ub294 \ub370 \uc801\ud569\ud569\ub2c8\ub2e4.<\/p>\n<h3>2.1 \ub2e4\uc775\uc2a4\ud2b8\ub77c \uc54c\uace0\ub9ac\uc998 \uc124\uba85<\/h3>\n<p>\ub2e4\uc775\uc2a4\ud2b8\ub77c \uc54c\uace0\ub9ac\uc998\uc740 \ub2e4\uc74c\uacfc \uac19\uc740 \ub2e8\uacc4\ub85c \uc791\ub3d9\ud569\ub2c8\ub2e4:<\/p>\n<ol>\n<li>\uc2dc\uc791 \ub178\ub4dc\ub97c \uc124\uc815\ud558\uace0, \uadf8 \ub178\ub4dc\uc5d0 \ub300\ud55c \ucd5c\ub2e8 \uac70\ub9ac\ub97c 0\uc73c\ub85c \ucd08\uae30\ud654\ud569\ub2c8\ub2e4.<\/li>\n<li>\ubaa8\ub4e0 \ub2e4\ub978 \ub178\ub4dc\uc758 \ucd5c\ub2e8 \uac70\ub9ac\ub97c \ubb34\ud55c\ub300\ub85c \ucd08\uae30\ud654\ud569\ub2c8\ub2e4.<\/li>\n<li>\ubc29\ubb38\ud558\uc9c0 \uc54a\uc740 \ub178\ub4dc \uc911 \uac00\uc7a5 \ucd5c\ub2e8 \uac70\ub9ac \uac12\uc774 \ub0ae\uc740 \ub178\ub4dc\ub97c \uc120\ud0dd\ud569\ub2c8\ub2e4.<\/li>\n<li>\uc774 \ub178\ub4dc\ub97c \ud604\uc7ac \ub178\ub4dc\ub85c \uc124\uc815\ud558\uace0, \uc774 \ub178\ub4dc\ub97c \ud1b5\ud574 \uc811\uadfc\ud560 \uc218 \uc788\ub294 \ubaa8\ub4e0 \uc778\uc811 \ub178\ub4dc\uc758 \ucd5c\ub2e8 \uac70\ub9ac \uac12\uc744 \uc5c5\ub370\uc774\ud2b8\ud569\ub2c8\ub2e4.<\/li>\n<li>\ubaa8\ub4e0 \ub178\ub4dc\ub97c \ubc29\ubb38\ud560 \ub54c\uae4c\uc9c0 3-4 \ub2e8\uacc4\ub97c \ubc18\ubcf5\ud569\ub2c8\ub2e4.<\/li>\n<\/ol>\n<h2>3. C++ \uad6c\ud604<\/h2>\n<p>\uc774\uc81c C++\ub85c \ub2e4\uc775\uc2a4\ud2b8\ub77c \uc54c\uace0\ub9ac\uc998\uc744 \uad6c\ud604\ud574 \ubcf4\uaca0\uc2b5\ub2c8\ub2e4. \ub2e4\uc74c\uc740 \uc704\uc5d0\uc11c \uc124\uba85\ud55c \uadf8\ub798\ud504\uc758 \ucd5c\ub2e8 \uacbd\ub85c\ub97c \ucc3e\ub294 \ucf54\ub4dc\uc785\ub2c8\ub2e4:<\/p>\n<pre>\n#include &lt;iostream&gt;\n#include &lt;vector&gt;\n#include &lt;queue&gt;\n#include &lt;limits&gt; \/\/ numeric_limits\ub97c \uc704\ud574\nusing namespace std;\n\n\/\/ \uadf8\ub798\ud504 \uad6c\uc870\uccb4 \uc815\uc758\nstruct Edge {\n    int destination;\n    int weight;\n};\n\n\/\/ \ub2e4\uc775\uc2a4\ud2b8\ub77c \uc54c\uace0\ub9ac\uc998 \uad6c\ud604\nvector<int> dijkstra(int start, const vector<vector<edge>&gt;&amp; graph) {\n    int n = graph.size();\n    vector<int> distance(n, numeric_limits<int>::max());\n    distance[start] = 0;\n    \n    priority_queue<pair<int, int=\"\">, vector<pair<int, int=\"\">&gt;, greater<pair<int, int=\"\">&gt;&gt; minHeap;\n    minHeap.push({0, start});\n\n    while (!minHeap.empty()) {\n        int currentDistance = minHeap.top().first;\n        int currentNode = minHeap.top().second;\n        minHeap.pop();\n\n        \/\/ \ud604\uc7ac \ub178\ub4dc\uc758 \uac70\ub9ac \uac12\uc774 \ub354 \ud06c\uba74 \ubb34\uc2dc\n        if (currentDistance &gt; distance[currentNode]) continue;\n\n        \/\/ \uc778\uc811 \ub178\ub4dc \ud0d0\uc0c9\n        for (const Edge&amp; edge : graph[currentNode]) {\n            int newDistance = currentDistance + edge.weight;\n            if (newDistance &lt; distance[edge.destination]) {\n                distance[edge.destination] = newDistance;\n                minHeap.push({newDistance, edge.destination});\n            }\n        }\n    }\n\n    return distance;\n}\n\nint main() {\n    \/\/ \uadf8\ub798\ud504 \ucd08\uae30\ud654\n    int n = 4; \/\/ \ub178\ub4dc \uac1c\uc218\n    vector<vector<edge>&gt; graph(n);\n    \n    \/\/ \uac04\uc120 \ucd94\uac00 (0-based index)\n    graph[0].push_back({1, 1});\n    graph[0].push_back({2, 4});\n    graph[1].push_back({2, 2});\n    graph[1].push_back({3, 1});\n    graph[2].push_back({3, 3});\n    \n    int startNode = 0; \/\/ A\n    vector<int> shortestPaths = dijkstra(startNode, graph);\n\n    \/\/ \uacb0\uacfc \ucd9c\ub825\n    cout &lt;&lt; \"\ucd5c\ub2e8 \uacbd\ub85c:\" &lt;&lt; endl;\n    for (int i = 0; i &lt; n; i++) {\n        cout &lt;&lt; \"A\uc5d0\uc11c \" &lt;&lt; char('A' + i) &lt;&lt; \"\uae4c\uc9c0\uc758 \ucd5c\ub2e8 \uacbd\ub85c: \";\n        if (shortestPaths[i] == numeric_limits<int>::max()) {\n            cout &lt;&lt; \"\ub3c4\ub2ec \ubd88\uac00\ub2a5\" &lt;&lt; endl;\n        } else {\n            cout &lt;&lt; shortestPaths[i] &lt;&lt; endl;\n        }\n    }\n\n    return 0;\n}\n    <\/int><\/int><\/vector<edge><\/pair<int,><\/pair<int,><\/pair<int,><\/int><\/int><\/vector<edge><\/int><\/pre>\n<h2>4. \ucf54\ub4dc \uc124\uba85<\/h2>\n<h3>4.1 \uadf8\ub798\ud504 \uad6c\uc870 \uc124\uc815<\/h3>\n<p>\uba3c\uc800, \uac04\uc120 \uad6c\uc870\uccb4\ub97c \uc815\uc758\ud558\uc5ec \uac01 \ub178\ub4dc\uc640 \uac00\uc911\uce58 \uc815\ubcf4\ub97c \ud3ec\ud568\ud55c \uadf8\ub798\ud504\ub97c \uc124\uc815\ud569\ub2c8\ub2e4. <code>vector&lt;vector&lt;Edge&gt;&gt;<\/code>\ub97c \uc0ac\uc6a9\ud558\uc5ec \uadf8\ub798\ud504\ub97c \ud45c\ud604\ud569\ub2c8\ub2e4.<\/p>\n<h3>4.2 \ub2e4\uc775\uc2a4\ud2b8\ub77c \uad6c\ud604<\/h3>\n<p>\ub2e4\uc775\uc2a4\ud2b8\ub77c \uc54c\uace0\ub9ac\uc998\uc744 \uc704\ud55c \ud568\uc218 <code>dijkstra<\/code>\ub97c \uc791\uc131\ud588\uc2b5\ub2c8\ub2e4. \uc2dc\uc791 \ub178\ub4dc\uc5d0\uc11c\ubd80\ud130 \uac01 \ub178\ub4dc\uae4c\uc9c0\uc758 \ucd5c\ub2e8 \uac70\ub9ac\ub97c \uacc4\uc0b0\ud558\uc5ec <code>distance<\/code> \ubca1\ud130\uc5d0 \uc800\uc7a5\ud569\ub2c8\ub2e4. <code>priority_queue<\/code>\ub97c \uc0ac\uc6a9\ud558\uc5ec \ud604\uc7ac\uae4c\uc9c0\uc758 \ucd5c\ub2e8 \uacbd\ub85c\ub97c \ud6a8\uc728\uc801\uc73c\ub85c \uad00\ub9ac\ud569\ub2c8\ub2e4.<\/p>\n<h3>4.3 \uba54\uc778 \ud568\uc218<\/h3>\n<p><code>main<\/code> \ud568\uc218\uc5d0\uc11c \uadf8\ub798\ud504\ub97c \ucd08\uae30\ud654\ud558\uace0, \ub2e4\uc775\uc2a4\ud2b8\ub77c \ud568\uc218\ub97c \ud638\ucd9c\ud558\uc5ec \ucd5c\ub2e8 \uacbd\ub85c\ub97c \uad6c\ud55c \ub4a4, \uacb0\uacfc\ub97c \ucd9c\ub825\ud569\ub2c8\ub2e4.<\/p>\n<h2>5. \ubcf5\uc7a1\ub3c4 \ubd84\uc11d<\/h2>\n<p>\ub2e4\uc775\uc2a4\ud2b8\ub77c \uc54c\uace0\ub9ac\uc998\uc758 \uc2dc\uac04 \ubcf5\uc7a1\ub3c4\ub294 \uc0ac\uc6a9\ub41c \uc790\ub8cc \uad6c\uc870\uc5d0 \ub530\ub77c \ub2ec\ub77c\uc9d1\ub2c8\ub2e4. \uc77c\ubc18\uc801\uc73c\ub85c \ud799\uc744 \uc0ac\uc6a9\ud560 \uacbd\uc6b0 <code>O(E log V)<\/code>\ub85c \ub098\ud0c0\ub0b4\uba70, \uc5ec\uae30\uc11c <code>E<\/code>\ub294 \uac04\uc120\uc758 \uc218, <code>V<\/code>\ub294 \ub178\ub4dc\uc758 \uc218\uc785\ub2c8\ub2e4.<\/p>\n<h2>6. \ucc38\uace0 \uc790\ub8cc<\/h2>\n<ul>\n<li><a href=\"https:\/\/en.wikipedia.org\/wiki\/Dijkstra's_algorithm\" target=\"_blank\" rel=\"noopener\">\ub2e4\uc775\uc2a4\ud2b8\ub77c \uc54c\uace0\ub9ac\uc998 &#8211; \uc704\ud0a4\ubc31\uacfc<\/a><\/li>\n<li><a href=\"https:\/\/www.geeksforgeeks.org\/dijkstras-shortest-path-algorithm-using-priority_queue-in-c\/\" target=\"_blank\" rel=\"noopener\">\uc9c0\ud06c\uc2a4\ud3ec\ud06c\uc2a4 &#8211; \ub2e4\uc775\uc2a4\ud2b8\ub77c \uc54c\uace0\ub9ac\uc998 \uad6c\ud604<\/a><\/li>\n<\/ul>\n<div class=\"note\">\n<strong>\ub367\uae00:<\/strong> \uc774 \ucf54\ub4dc\ub294 \uc0d8\ud50c \uadf8\ub798\ud504\uc5d0 \ub300\ud574 \uc791\ub3d9\ud558\uba70, \uc2e4\uc81c \ubb38\uc81c\uc5d0 \ub9de\uac8c \uadf8\ub798\ud504\ub97c \uc218\uc815\ud574\uc57c \ud569\ub2c8\ub2e4. \uc720\uc0ac\ud55c \ud615\ud0dc\uc758 \ubb38\uc81c\ub97c \ud480\uae30 \uc704\ud574 \ub2e4\uc775\uc2a4\ud2b8\ub77c \uc54c\uace0\ub9ac\uc998\uc758 \ubcc0\ud615\uc774\ub098 \ub2e4\ub978 \uc811\uadfc\ubc95\uc744 \uace0\ub824\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.\n    <\/div>\n<h2>7. \uacb0\ub860<\/h2>\n<p>\uc774\ubc88 \uae00\uc5d0\uc11c\ub294 C++\uc744 \uc774\uc6a9\ud55c \ub2e4\uc775\uc2a4\ud2b8\ub77c \uc54c\uace0\ub9ac\uc998\uc744 \ud1b5\ud574 \uc8fc\uc5b4\uc9c4 \uadf8\ub798\ud504\uc5d0\uc11c \ucd5c\ub2e8 \uacbd\ub85c\ub97c \uad6c\ud558\ub294 \ubc29\ubc95\uc744 \ubc30\uc6e0\uc2b5\ub2c8\ub2e4. \uc54c\uace0\ub9ac\uc998\uc758 \uae30\ubcf8 \uac1c\ub150, C++ \uad6c\ud604 \ubc29\ubc95\uacfc \uc608\uc81c\ub97c \ud1b5\ud574 \uc774\ud574\ub97c \uc2ec\ud654\uc2dc\ud0ac \uc218 \uc788\uc5c8\uc2b5\ub2c8\ub2e4. \uc2e4\uc81c \ucf54\ub529 \ud14c\uc2a4\ud2b8\uc5d0\uc11c\ub294 \uc774\ub7ec\ud55c \uc54c\uace0\ub9ac\uc998\uc744 \ubb38\uc81c \ud574\uacb0\uc5d0 \uc751\uc6a9\ud558\ub294 \uac83\uc774 \uc911\uc694\ud569\ub2c8\ub2e4. \uc9c0\uc18d\uc801\uc73c\ub85c \ub2e4\uc591\ud55c \ubb38\uc81c\ub97c \ud574\uacb0\ud558\uba70 \uacbd\ud5d8\uc744 \uc313\uc544 \ub098\uac00\uc2dc\uae38 \ubc14\ub78d\ub2c8\ub2e4.<\/p>\n<p><\/body><\/p>\n","protected":false},"excerpt":{"rendered":"<p>1. \ubb38\uc81c \uc815\uc758 \ucd5c\ub2e8 \uacbd\ub85c \uad6c\ud558\uae30 \ubb38\uc81c\ub294 \uc8fc\uc5b4\uc9c4 \uadf8\ub798\ud504\uc5d0\uc11c \ub450 \uc815\uc810 \uc0ac\uc774\uc758 \ucd5c\uc18c \uac70\ub9ac\ub97c \ucc3e\ub294 \ubb38\uc81c\uc785\ub2c8\ub2e4. \uadf8\ub798\ud504\ub294 \ub178\ub4dc(\uc815\uc810)\uc640 \uc774\ub4e4\uc744 \uc5f0\uacb0\ud558\ub294 \uac04\uc120(\uc5e3\uc9c0)\uc73c\ub85c \uad6c\uc131\ub418\uba70, \uac01 \uac04\uc120\uc740 \uac70\ub9ac \ub610\ub294 \uac00\uc911\uce58\ub85c \ud45c\ud604\ub429\ub2c8\ub2e4. \uc608\ub97c \ub4e4\uc5b4, \ub2e4\uc74c\uacfc \uac19\uc740 \uadf8\ub798\ud504\uac00 \uc788\ub2e4\uace0 \uac00\uc815\ud569\uc2dc\ub2e4. \uc5ec\uae30\uc11c A, B, C, D\ub294 \ub178\ub4dc\uc774\uba70, \uac04\uc120\uc740 \ub2e4\uc74c\uacfc \uac19\uc740 \uac00\uc911\uce58\ub97c \uac00\uc9d1\ub2c8\ub2e4: A &#8211;1&#8211; B | \/| 4 2 | | &hellip; <a href=\"https:\/\/atmokpo.com\/w\/27736\/\" class=\"more-link\">\ub354 \ubcf4\uae30<span class=\"screen-reader-text\"> &#8220;C++ \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ucd5c\ub2e8 \uacbd\ub85c \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-27736","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\ub2e8 \uacbd\ub85c \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\/27736\/\" \/>\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\ub2e8 \uacbd\ub85c \uad6c\ud558\uae30 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"og:description\" content=\"1. \ubb38\uc81c \uc815\uc758 \ucd5c\ub2e8 \uacbd\ub85c \uad6c\ud558\uae30 \ubb38\uc81c\ub294 \uc8fc\uc5b4\uc9c4 \uadf8\ub798\ud504\uc5d0\uc11c \ub450 \uc815\uc810 \uc0ac\uc774\uc758 \ucd5c\uc18c \uac70\ub9ac\ub97c \ucc3e\ub294 \ubb38\uc81c\uc785\ub2c8\ub2e4. \uadf8\ub798\ud504\ub294 \ub178\ub4dc(\uc815\uc810)\uc640 \uc774\ub4e4\uc744 \uc5f0\uacb0\ud558\ub294 \uac04\uc120(\uc5e3\uc9c0)\uc73c\ub85c \uad6c\uc131\ub418\uba70, \uac01 \uac04\uc120\uc740 \uac70\ub9ac \ub610\ub294 \uac00\uc911\uce58\ub85c \ud45c\ud604\ub429\ub2c8\ub2e4. \uc608\ub97c \ub4e4\uc5b4, \ub2e4\uc74c\uacfc \uac19\uc740 \uadf8\ub798\ud504\uac00 \uc788\ub2e4\uace0 \uac00\uc815\ud569\uc2dc\ub2e4. \uc5ec\uae30\uc11c A, B, C, D\ub294 \ub178\ub4dc\uc774\uba70, \uac04\uc120\uc740 \ub2e4\uc74c\uacfc \uac19\uc740 \uac00\uc911\uce58\ub97c \uac00\uc9d1\ub2c8\ub2e4: A --1-- B | \/| 4 2 | | &hellip; \ub354 \ubcf4\uae30 &quot;C++ \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ucd5c\ub2e8 \uacbd\ub85c \uad6c\ud558\uae30&quot;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/atmokpo.com\/w\/27736\/\" \/>\n<meta property=\"og:site_name\" content=\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"article:published_time\" content=\"2024-10-27T14:43:29+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-11-26T07:15:43+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<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/atmokpo.com\/w\/27736\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/27736\/\"},\"author\":{\"name\":\"root\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7\"},\"headline\":\"C++ \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ucd5c\ub2e8 \uacbd\ub85c \uad6c\ud558\uae30\",\"datePublished\":\"2024-10-27T14:43:29+00:00\",\"dateModified\":\"2024-11-26T07:15:43+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/atmokpo.com\/w\/27736\/\"},\"wordCount\":17,\"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\/27736\/\",\"url\":\"https:\/\/atmokpo.com\/w\/27736\/\",\"name\":\"C++ \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ucd5c\ub2e8 \uacbd\ub85c \uad6c\ud558\uae30 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#website\"},\"datePublished\":\"2024-10-27T14:43:29+00:00\",\"dateModified\":\"2024-11-26T07:15:43+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/atmokpo.com\/w\/27736\/#breadcrumb\"},\"inLanguage\":\"ko-KR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/atmokpo.com\/w\/27736\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/atmokpo.com\/w\/27736\/#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\ub2e8 \uacbd\ub85c \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\ub2e8 \uacbd\ub85c \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\/27736\/","og_locale":"ko_KR","og_type":"article","og_title":"C++ \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ucd5c\ub2e8 \uacbd\ub85c \uad6c\ud558\uae30 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","og_description":"1. \ubb38\uc81c \uc815\uc758 \ucd5c\ub2e8 \uacbd\ub85c \uad6c\ud558\uae30 \ubb38\uc81c\ub294 \uc8fc\uc5b4\uc9c4 \uadf8\ub798\ud504\uc5d0\uc11c \ub450 \uc815\uc810 \uc0ac\uc774\uc758 \ucd5c\uc18c \uac70\ub9ac\ub97c \ucc3e\ub294 \ubb38\uc81c\uc785\ub2c8\ub2e4. \uadf8\ub798\ud504\ub294 \ub178\ub4dc(\uc815\uc810)\uc640 \uc774\ub4e4\uc744 \uc5f0\uacb0\ud558\ub294 \uac04\uc120(\uc5e3\uc9c0)\uc73c\ub85c \uad6c\uc131\ub418\uba70, \uac01 \uac04\uc120\uc740 \uac70\ub9ac \ub610\ub294 \uac00\uc911\uce58\ub85c \ud45c\ud604\ub429\ub2c8\ub2e4. \uc608\ub97c \ub4e4\uc5b4, \ub2e4\uc74c\uacfc \uac19\uc740 \uadf8\ub798\ud504\uac00 \uc788\ub2e4\uace0 \uac00\uc815\ud569\uc2dc\ub2e4. \uc5ec\uae30\uc11c A, B, C, D\ub294 \ub178\ub4dc\uc774\uba70, \uac04\uc120\uc740 \ub2e4\uc74c\uacfc \uac19\uc740 \uac00\uc911\uce58\ub97c \uac00\uc9d1\ub2c8\ub2e4: A --1-- B | \/| 4 2 | | &hellip; \ub354 \ubcf4\uae30 \"C++ \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ucd5c\ub2e8 \uacbd\ub85c \uad6c\ud558\uae30\"","og_url":"https:\/\/atmokpo.com\/w\/27736\/","og_site_name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","article_published_time":"2024-10-27T14:43:29+00:00","article_modified_time":"2024-11-26T07:15:43+00:00","author":"root","twitter_card":"summary_large_image","twitter_creator":"@bebubo4","twitter_site":"@bebubo4","twitter_misc":{"\uae00\uc4f4\uc774":"root"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/atmokpo.com\/w\/27736\/#article","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/27736\/"},"author":{"name":"root","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7"},"headline":"C++ \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ucd5c\ub2e8 \uacbd\ub85c \uad6c\ud558\uae30","datePublished":"2024-10-27T14:43:29+00:00","dateModified":"2024-11-26T07:15:43+00:00","mainEntityOfPage":{"@id":"https:\/\/atmokpo.com\/w\/27736\/"},"wordCount":17,"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\/27736\/","url":"https:\/\/atmokpo.com\/w\/27736\/","name":"C++ \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ucd5c\ub2e8 \uacbd\ub85c \uad6c\ud558\uae30 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/#website"},"datePublished":"2024-10-27T14:43:29+00:00","dateModified":"2024-11-26T07:15:43+00:00","breadcrumb":{"@id":"https:\/\/atmokpo.com\/w\/27736\/#breadcrumb"},"inLanguage":"ko-KR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/atmokpo.com\/w\/27736\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/atmokpo.com\/w\/27736\/#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\ub2e8 \uacbd\ub85c \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\/27736","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=27736"}],"version-history":[{"count":1,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/27736\/revisions"}],"predecessor-version":[{"id":27737,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/27736\/revisions\/27737"}],"wp:attachment":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/media?parent=27736"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/categories?post=27736"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/tags?post=27736"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}