{"id":27732,"date":"2024-10-27T14:43:28","date_gmt":"2024-10-27T14:43:28","guid":{"rendered":"http:\/\/atmokpo.com\/w\/?p=27732"},"modified":"2024-11-26T07:15:45","modified_gmt":"2024-11-26T07:15:45","slug":"c-%ec%bd%94%eb%94%a9%ed%85%8c%ec%8a%a4%ed%8a%b8-%ea%b0%95%ec%a2%8c-%ec%a4%84-%ec%84%b8%ec%9a%b0%ea%b8%b0-2","status":"publish","type":"post","link":"https:\/\/atmokpo.com\/w\/27732\/","title":{"rendered":"C++ \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uc904 \uc138\uc6b0\uae30"},"content":{"rendered":"<p><body><\/p>\n<h2>\ubb38\uc81c \uc124\uba85<\/h2>\n<p>\n        N\uba85\uc758 \ud559\uc0dd\ub4e4\uc774 \uad50\uc2e4\uc5d0\uc11c \uc904\uc744 \uc11c\uace0 \uc788\uc2b5\ub2c8\ub2e4. \uac01 \ud559\uc0dd\uc758 \ud0a4\ub294 \ubc30\uc5f4\ub85c \uc8fc\uc5b4\uc9c0\uba70, \uc8fc\uc5b4\uc9c4 \ud0a4 \uc21c\uc11c\uc640 \ub2e4\ub974\uac8c \uc11c \uc788\uc744 \uacbd\uc6b0, \ud559\uc0dd\ub4e4\uc740 \uc790\uc2e0\uc758 \uc704\uce58\ub97c \ubc14\uafd4\uc904 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<br \/>\n        \uc774\ub54c, \ud559\uc0dd\ub4e4\uc744 \ud0a4\uc758 \uc624\ub984\ucc28\uc21c\uc73c\ub85c \uc815\ub82c\ud558\uae30 \uc704\ud55c \ucd5c\uc18c\uc758 \uc2a4\uc651 \uc218\ub97c \uad6c\ud558\ub294 \ubb38\uc81c\uc785\ub2c8\ub2e4.\n    <\/p>\n<h2>\uc785\ub825 \ud615\uc2dd<\/h2>\n<p>\n        \uccab \ubc88\uc9f8 \uc904\uc5d0 \ud559\uc0dd\uc758 \uc218 N\uc774 \uc8fc\uc5b4\uc9d1\ub2c8\ub2e4. (1 \u2264 N \u2264 1000)<br \/>\n        \ub450 \ubc88\uc9f8 \uc904\uc5d0\ub294 N\uba85\uc758 \ud559\uc0dd\uc758 \ud0a4\uac00 \uacf5\ubc31\uc73c\ub85c \uad6c\ubd84\ub418\uc5b4 \uc8fc\uc5b4\uc9d1\ub2c8\ub2e4. \uac01 \ud0a4\ub294 1 \uc774\uc0c1 1000 \uc774\ud558\uc758 \uc815\uc218\uc785\ub2c8\ub2e4.\n    <\/p>\n<h2>\ucd9c\ub825 \ud615\uc2dd<\/h2>\n<p>\n        \ucd5c\uc18c \uc2a4\uc651 \uc218\ub97c \ucd9c\ub825\ud569\ub2c8\ub2e4.\n    <\/p>\n<h2>\uc608\uc81c \uc785\ub825\/\ucd9c\ub825<\/h2>\n<pre>\n        \uc785\ub825:\n        5\n        5 3 2 4 1\n        \n        \ucd9c\ub825:\n        4\n    <\/pre>\n<h2>\ubb38\uc81c \ud480\uc774<\/h2>\n<p>\n        \uc774 \ubb38\uc81c\ub97c \ud574\uacb0\ud558\uae30 \uc704\ud574 \uc6b0\ub9ac\ub294 \ub2e4\uc74c \ub2e8\uacc4\ub97c \ub530\ub985\ub2c8\ub2e4:\n    <\/p>\n<h3>1\ub2e8\uacc4: \ubb38\uc81c \uc774\ud574\ud558\uae30<\/h3>\n<p>\n        \uc8fc\uc5b4\uc9c4 \ud559\uc0dd\uc758 \ud0a4\ub97c \uc624\ub984\ucc28\uc21c\uc73c\ub85c \uc815\ub82c\ud558\uae30 \uc704\ud55c \ucd5c\uc18c \uc2a4\uc651 \uc218\ub97c \ucc3e\ub294 \uac83\uc785\ub2c8\ub2e4.<br \/>\n        \uc608\ub97c \ub4e4\uc5b4, \uc704\uc758 \uc785\ub825\uc5d0\uc11c \ud559\uc0dd\ub4e4\uc740 {5, 3, 2, 4, 1}\uc758 \uc21c\uc11c\ub85c \uc11c \uc788\uc5c8\uace0, \uc774\ub97c {1, 2, 3, 4, 5}\ub85c \ubc14\uafd4\uc57c \ud569\ub2c8\ub2e4.<br \/>\n        \uc774 \uacfc\uc815\uc5d0\uc11c \uba87 \ubc88\uc758 \uad50\ud658\uc774 \ud544\uc694\ud55c\uc9c0\ub97c \uc138\ub294 \uac83\uc774 \ubaa9\ud45c\uc785\ub2c8\ub2e4.\n    <\/p>\n<h3>2\ub2e8\uacc4: \uc811\uadfc \ubc29\ubc95<\/h3>\n<p>\n        \ucd5c\uc801\uc758 \uc2a4\uc651 \uc218\ub97c \ucc3e\uae30 \uc704\ud574\uc11c\ub294 \uac01 \uc2a4\uc651\uc744 \ud1b5\ud574 \ubc30\uc5f4\uc758 \uc21c\uc11c\ub97c \ud55c \ub2e8\uacc4\uc529 \uc815\ub82c\ud558\ub294 \uac83\uc774 \ud6a8\uacfc\uc801\uc785\ub2c8\ub2e4.<br \/>\n        \uc6b0\ub9ac\ub294 \ub2e4\uc74c\uacfc \uac19\uc740 \ubc29\ubc95\uc73c\ub85c \uc774 \ubb38\uc81c\ub97c \ud574\uacb0\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4:\n    <\/p>\n<ol>\n<li>\ud559\uc0dd\ub4e4\uc758 \ud0a4\uc640 \uadf8 \uc778\ub371\uc2a4\ub97c \uc30d\uc73c\ub85c \ubb36\uc5b4 \uc8fc\uc5b4\uc9c4 \ub9ac\uc2a4\ud2b8\ub97c \uc815\ub82c\ud569\ub2c8\ub2e4.<\/li>\n<li>\uac01 \ud559\uc0dd\uc758 \ud604\uc7ac \uc704\uce58\uc640 \uc815\ub82c\ub41c \uc704\uce58\ub97c \ube44\uad50\ud569\ub2c8\ub2e4.<\/li>\n<li>\uc2a4\uc651\uc744 \ud1b5\ud574 \ud559\uc0dd\ub4e4\uc744 \uc815\ub82c\ub41c \uc704\uce58\ub85c \uc774\ub3d9\ud574\uc57c \ud558\uba70, \uc774\ubbf8 \ubc29\ubb38\ud55c \ud559\uc0dd\ub4e4\uc740 \ub2e4\uc2dc \uace0\ub824\ud558\uc9c0 \uc54a\uc2b5\ub2c8\ub2e4.<\/li>\n<\/ol>\n<h3>3\ub2e8\uacc4: \uc54c\uace0\ub9ac\uc998 \uad6c\ud604<\/h3>\n<pre>\n        #include <iostream>\n        #include <vector>\n        #include <algorithm>\n        \n        using namespace std;\n\n        \/\/ \uad6c\uc870\uccb4 \uc815\uc758: \uc778\ub371\uc2a4\uc640 \ud0a4\ub97c \uc30d\uc73c\ub85c \uad00\ub9ac\n        struct Student {\n            int index;\n            int height;\n        };\n\n        \/\/ \uc2a4\uc651 \ud568\uc218\ub97c \uc815\uc758\n        void swap(Student&amp; a, Student&amp; b) {\n            Student temp = a;\n            a = b;\n            b = temp;\n        }\n\n        int minSwaps(vector<int>&amp; heights) {\n            int n = heights.size();\n            vector<student> students(n);\n            for (int i = 0; i &lt; n; i++) {\n                students[i] = {i, heights[i]};\n            }\n            \n            \/\/ \ud559\uc0dd\ub4e4\uc744 \ud0a4 \uae30\uc900\uc73c\ub85c \uc815\ub82c\n            sort(students.begin(), students.end(), [](Student a, Student b) {\n                return a.height &lt; b.height;\n            });\n            \n            vector<bool> visited(n, false);\n            int swapCount = 0;\n            \n            for (int i = 0; i &lt; n; i++) {\n                if (visited[i] || students[i].index == i) {\n                    continue;\n                }\n                \n                \/\/ \uc0ac\uc774\ud074\uc758 \ud06c\uae30\ub97c \uacc4\uc0b0\n                int cycle_size = 0;\n                int j = i;\n                while (!visited[j]) {\n                    visited[j] = true;\n                    j = students[j].index;\n                    cycle_size++;\n                }\n                \n                if (cycle_size &gt; 0) {\n                    swapCount += (cycle_size - 1);\n                }\n            }\n            return swapCount;\n        }\n\n        int main() {\n            int n;\n            cout &lt;&lt; \"\ud559\uc0dd \uc218\ub97c \uc785\ub825\ud558\uc138\uc694: \";\n            cin &gt;&gt; n;\n            vector<int> heights(n);\n\n            cout &lt;&lt; \"\ud559\uc0dd\ub4e4\uc758 \ud0a4\ub97c \uc785\ub825\ud558\uc138\uc694: \";\n            for (int i = 0; i &lt; n; i++) {\n                cin &gt;&gt; heights[i];\n            }\n\n            int result = minSwaps(heights);\n            cout &lt;&lt; \"\ucd5c\uc18c \uc2a4\uc651 \uc218: \" &lt;&lt; result &lt;&lt; endl;\n            return 0;\n        }\n    <\/int><\/bool><\/student><\/int><\/algorithm><\/vector><\/iostream><\/pre>\n<h3>4\ub2e8\uacc4: \ucf54\ub4dc \uc124\uba85<\/h3>\n<p>\n        \uc704\uc758 \ucf54\ub4dc\ub294 C++\ub85c \uc791\uc131\ub41c \uc904 \uc138\uc6b0\uae30 \ubb38\uc81c\uc758 \ud574\uacb0 \ubc29\ubc95\uc744 \ubcf4\uc5ec\uc90d\ub2c8\ub2e4. <\/p>\n<ul>\n<li><strong>\uad6c\uc870\uccb4 Student:<\/strong> \uc778\ub371\uc2a4\uc640 \ud559\uc0dd\uc758 \ud0a4\ub97c \uc30d\uc73c\ub85c \ubb36\uc5b4 \uad00\ub9ac\ud569\ub2c8\ub2e4.<\/li>\n<li><strong>swap \ud568\uc218:<\/strong> \ub450 \ud559\uc0dd\uc758 \uc815\ubcf4\ub97c \uc2a4\uc651\ud569\ub2c8\ub2e4.<\/li>\n<li><strong>minSwaps \ud568\uc218:<\/strong> \ucd5c\uc18c \uc2a4\uc651 \uc218\ub97c \uacc4\uc0b0\ud558\ub294 \uc8fc \ud568\uc218\uc785\ub2c8\ub2e4. \ud559\uc0dd \ub9ac\uc2a4\ud2b8\ub97c \uc815\ub82c\ud558\uace0, \uac01 \ubc29\ubb38 \uc5ec\ubd80\ub97c \uccb4\ud06c\ud558\uc5ec \uc0ac\uc774\ud074\uc744 \uacc4\uc0b0\ud569\ub2c8\ub2e4.<\/li>\n<li><strong>main \ud568\uc218:<\/strong> \uc0ac\uc6a9\uc790\ub85c\ubd80\ud130 \uc785\ub825\uc744 \ubc1b\uace0 \uacb0\uacfc\ub97c \ucd9c\ub825\ud558\ub294 \uc8fc \ud568\uc218\uc785\ub2c8\ub2e4.<\/li>\n<\/ul>\n<h3>5\ub2e8\uacc4: \ud14c\uc2a4\ud2b8 \ubc0f \uac80\uc99d<\/h3>\n<p>\n        \ucf54\ub4dc\ub97c \uc791\uc131\ud55c \ud6c4 \ub2e4\uc591\ud55c \ucf00\uc774\uc2a4\ub85c \ud14c\uc2a4\ud2b8\ub97c \uc218\ud589\ud569\ub2c8\ub2e4.<br \/>\n        \ub2e4\uc591\ud55c \uc785\ub825\uc744 \ud1b5\ud574 \uc608\uc0c1\ub418\ub294 \ucd9c\ub825\uacfc \uc77c\uce58\ud558\ub294\uc9c0 \ud655\uc778\ud574\uc57c \ud569\ub2c8\ub2e4.<br \/>\n        \uc608\ub97c \ub4e4\uc5b4, \uac00\uc7a5 \uac04\ub2e8\ud55c \ud14c\uc2a4\ud2b8 \ucf00\uc774\uc2a4\ub97c \ucd94\uac00\ud558\uc5ec \uc815\ud655\uc131\uc744 \uac80\uc0ac\ud569\ub2c8\ub2e4:\n    <\/p>\n<pre>\n        \uc785\ub825:\n        3\n        3 1 2\n        \n        \ucd9c\ub825:\n        2\n    <\/pre>\n<p>\n        \ucd94\uac00\uc801\uc73c\ub85c, \ud070 \uc785\ub825\uc744 \ud1b5\ud574 \uc131\ub2a5\uc744 \ud655\uc778\ud558\ub294 \uac83\ub3c4 \uc911\uc694\ud569\ub2c8\ub2e4.\n    <\/p>\n<h2>\uacb0\ub860<\/h2>\n<p>\n        \uc774 \ubb38\uc81c\ub97c \ud1b5\ud574 \uc2a4\uc651\uacfc \uc815\ub82c\uc758 \uac1c\ub150, \uad6c\uc870\uccb4\uc758 \ud65c\uc6a9 \ubc0f \uc54c\uace0\ub9ac\uc998\uc758 \ubcf5\uc7a1\uc131\uc5d0 \ub300\ud55c \uc774\ud574\ub97c \ub192\uc77c \uc218 \uc788\uc5c8\uc2b5\ub2c8\ub2e4.<br \/>\n        C++ \ucf54\ub529\ud14c\uc2a4\ud2b8\uc5d0\uc11c \uc790\uc8fc \ucd9c\uc81c\ub418\ub294 \uc720\ud615\uc774\ubbc0\ub85c, \ucda9\ubd84\ud55c \uc5f0\uc2b5\uc744 \ud1b5\ud574 \uc54c\uace0\ub9ac\uc998\uc801 \uc0ac\uace0\ub97c \ud0a4\uc6cc\uc57c \ud569\ub2c8\ub2e4.\n    <\/p>\n<h2>\ucc38\uace0\uc790\ub8cc<\/h2>\n<ul>\n<li><a href=\"https:\/\/www.geeksforgeeks.org\/\">GeeksforGeeks<\/a><\/li>\n<li><a href=\"https:\/\/www.codewars.com\/\">Codewars<\/a><\/li>\n<li><a href=\"https:\/\/leetcode.com\/\">LeetCode<\/a><\/li>\n<\/ul>\n<footer style=\"margin-top: 20px; font-style: italic;\">\n        \u00a9 2023 C++ \ucf54\ub529\ud14c\uc2a4\ud2b8 \uc815\ubcf4 \ube14\ub85c\uadf8<br \/>\n    <\/footer>\n<p><\/body><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\ubb38\uc81c \uc124\uba85 N\uba85\uc758 \ud559\uc0dd\ub4e4\uc774 \uad50\uc2e4\uc5d0\uc11c \uc904\uc744 \uc11c\uace0 \uc788\uc2b5\ub2c8\ub2e4. \uac01 \ud559\uc0dd\uc758 \ud0a4\ub294 \ubc30\uc5f4\ub85c \uc8fc\uc5b4\uc9c0\uba70, \uc8fc\uc5b4\uc9c4 \ud0a4 \uc21c\uc11c\uc640 \ub2e4\ub974\uac8c \uc11c \uc788\uc744 \uacbd\uc6b0, \ud559\uc0dd\ub4e4\uc740 \uc790\uc2e0\uc758 \uc704\uce58\ub97c \ubc14\uafd4\uc904 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc774\ub54c, \ud559\uc0dd\ub4e4\uc744 \ud0a4\uc758 \uc624\ub984\ucc28\uc21c\uc73c\ub85c \uc815\ub82c\ud558\uae30 \uc704\ud55c \ucd5c\uc18c\uc758 \uc2a4\uc651 \uc218\ub97c \uad6c\ud558\ub294 \ubb38\uc81c\uc785\ub2c8\ub2e4. \uc785\ub825 \ud615\uc2dd \uccab \ubc88\uc9f8 \uc904\uc5d0 \ud559\uc0dd\uc758 \uc218 N\uc774 \uc8fc\uc5b4\uc9d1\ub2c8\ub2e4. (1 \u2264 N \u2264 1000) \ub450 \ubc88\uc9f8 \uc904\uc5d0\ub294 N\uba85\uc758 &hellip; <a href=\"https:\/\/atmokpo.com\/w\/27732\/\" class=\"more-link\">\ub354 \ubcf4\uae30<span class=\"screen-reader-text\"> &#8220;C++ \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uc904 \uc138\uc6b0\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-27732","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, \uc904 \uc138\uc6b0\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\/27732\/\" \/>\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, \uc904 \uc138\uc6b0\uae30 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"og:description\" content=\"\ubb38\uc81c \uc124\uba85 N\uba85\uc758 \ud559\uc0dd\ub4e4\uc774 \uad50\uc2e4\uc5d0\uc11c \uc904\uc744 \uc11c\uace0 \uc788\uc2b5\ub2c8\ub2e4. \uac01 \ud559\uc0dd\uc758 \ud0a4\ub294 \ubc30\uc5f4\ub85c \uc8fc\uc5b4\uc9c0\uba70, \uc8fc\uc5b4\uc9c4 \ud0a4 \uc21c\uc11c\uc640 \ub2e4\ub974\uac8c \uc11c \uc788\uc744 \uacbd\uc6b0, \ud559\uc0dd\ub4e4\uc740 \uc790\uc2e0\uc758 \uc704\uce58\ub97c \ubc14\uafd4\uc904 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc774\ub54c, \ud559\uc0dd\ub4e4\uc744 \ud0a4\uc758 \uc624\ub984\ucc28\uc21c\uc73c\ub85c \uc815\ub82c\ud558\uae30 \uc704\ud55c \ucd5c\uc18c\uc758 \uc2a4\uc651 \uc218\ub97c \uad6c\ud558\ub294 \ubb38\uc81c\uc785\ub2c8\ub2e4. \uc785\ub825 \ud615\uc2dd \uccab \ubc88\uc9f8 \uc904\uc5d0 \ud559\uc0dd\uc758 \uc218 N\uc774 \uc8fc\uc5b4\uc9d1\ub2c8\ub2e4. (1 \u2264 N \u2264 1000) \ub450 \ubc88\uc9f8 \uc904\uc5d0\ub294 N\uba85\uc758 &hellip; \ub354 \ubcf4\uae30 &quot;C++ \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uc904 \uc138\uc6b0\uae30&quot;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/atmokpo.com\/w\/27732\/\" \/>\n<meta property=\"og:site_name\" content=\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"article:published_time\" content=\"2024-10-27T14:43:28+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-11-26T07:15:45+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\/27732\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/27732\/\"},\"author\":{\"name\":\"root\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7\"},\"headline\":\"C++ \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uc904 \uc138\uc6b0\uae30\",\"datePublished\":\"2024-10-27T14:43:28+00:00\",\"dateModified\":\"2024-11-26T07:15:45+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/atmokpo.com\/w\/27732\/\"},\"wordCount\":15,\"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\/27732\/\",\"url\":\"https:\/\/atmokpo.com\/w\/27732\/\",\"name\":\"C++ \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uc904 \uc138\uc6b0\uae30 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#website\"},\"datePublished\":\"2024-10-27T14:43:28+00:00\",\"dateModified\":\"2024-11-26T07:15:45+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/atmokpo.com\/w\/27732\/#breadcrumb\"},\"inLanguage\":\"ko-KR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/atmokpo.com\/w\/27732\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/atmokpo.com\/w\/27732\/#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, \uc904 \uc138\uc6b0\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, \uc904 \uc138\uc6b0\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\/27732\/","og_locale":"ko_KR","og_type":"article","og_title":"C++ \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uc904 \uc138\uc6b0\uae30 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","og_description":"\ubb38\uc81c \uc124\uba85 N\uba85\uc758 \ud559\uc0dd\ub4e4\uc774 \uad50\uc2e4\uc5d0\uc11c \uc904\uc744 \uc11c\uace0 \uc788\uc2b5\ub2c8\ub2e4. \uac01 \ud559\uc0dd\uc758 \ud0a4\ub294 \ubc30\uc5f4\ub85c \uc8fc\uc5b4\uc9c0\uba70, \uc8fc\uc5b4\uc9c4 \ud0a4 \uc21c\uc11c\uc640 \ub2e4\ub974\uac8c \uc11c \uc788\uc744 \uacbd\uc6b0, \ud559\uc0dd\ub4e4\uc740 \uc790\uc2e0\uc758 \uc704\uce58\ub97c \ubc14\uafd4\uc904 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc774\ub54c, \ud559\uc0dd\ub4e4\uc744 \ud0a4\uc758 \uc624\ub984\ucc28\uc21c\uc73c\ub85c \uc815\ub82c\ud558\uae30 \uc704\ud55c \ucd5c\uc18c\uc758 \uc2a4\uc651 \uc218\ub97c \uad6c\ud558\ub294 \ubb38\uc81c\uc785\ub2c8\ub2e4. \uc785\ub825 \ud615\uc2dd \uccab \ubc88\uc9f8 \uc904\uc5d0 \ud559\uc0dd\uc758 \uc218 N\uc774 \uc8fc\uc5b4\uc9d1\ub2c8\ub2e4. (1 \u2264 N \u2264 1000) \ub450 \ubc88\uc9f8 \uc904\uc5d0\ub294 N\uba85\uc758 &hellip; \ub354 \ubcf4\uae30 \"C++ \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uc904 \uc138\uc6b0\uae30\"","og_url":"https:\/\/atmokpo.com\/w\/27732\/","og_site_name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","article_published_time":"2024-10-27T14:43:28+00:00","article_modified_time":"2024-11-26T07:15:45+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\/27732\/#article","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/27732\/"},"author":{"name":"root","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7"},"headline":"C++ \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uc904 \uc138\uc6b0\uae30","datePublished":"2024-10-27T14:43:28+00:00","dateModified":"2024-11-26T07:15:45+00:00","mainEntityOfPage":{"@id":"https:\/\/atmokpo.com\/w\/27732\/"},"wordCount":15,"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\/27732\/","url":"https:\/\/atmokpo.com\/w\/27732\/","name":"C++ \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uc904 \uc138\uc6b0\uae30 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/#website"},"datePublished":"2024-10-27T14:43:28+00:00","dateModified":"2024-11-26T07:15:45+00:00","breadcrumb":{"@id":"https:\/\/atmokpo.com\/w\/27732\/#breadcrumb"},"inLanguage":"ko-KR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/atmokpo.com\/w\/27732\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/atmokpo.com\/w\/27732\/#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, \uc904 \uc138\uc6b0\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\/27732","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=27732"}],"version-history":[{"count":1,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/27732\/revisions"}],"predecessor-version":[{"id":27733,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/27732\/revisions\/27733"}],"wp:attachment":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/media?parent=27732"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/categories?post=27732"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/tags?post=27732"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}