{"id":27607,"date":"2024-10-27T14:42:20","date_gmt":"2024-10-27T14:42:20","guid":{"rendered":"http:\/\/atmokpo.com\/w\/?p=27607"},"modified":"2024-11-26T07:16:50","modified_gmt":"2024-11-26T07:16:50","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%bc%ec%9d%98-%ec%96%91-%ea%b5%ac%ed%95%98%ea%b8%b0-2","status":"publish","type":"post","link":"https:\/\/atmokpo.com\/w\/27607\/","title":{"rendered":"C++ \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ubb3c\uc758 \uc591 \uad6c\ud558\uae30"},"content":{"rendered":"<p>\uc5ec\ub7ec\ubd84 \uc548\ub155\ud558\uc138\uc694! \uc774\ubc88 \uac15\uc88c\uc5d0\uc11c\ub294 \ubb3c\uc758 \uc591\uc744 \uad6c\ud558\ub294 \ubb38\uc81c\ub97c \ud1b5\ud574 C++ \ud504\ub85c\uadf8\ub798\ubc0d \uc5b8\uc5b4\uc758 \uae30\ucd08\uc640 \uc54c\uace0\ub9ac\uc998 \ubb38\uc81c \ud574\uacb0 \uacfc\uc815\uc744 \uc790\uc138\ud788 \uc0b4\ud3b4\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. \uc54c\uace0\ub9ac\uc998 \ubb38\uc81c\ub294 \ub2e8\uc21c\ud55c \ucf54\ub4dc \uc791\uc131\uc744 \ub118\uc5b4\uc11c, \ubb38\uc81c\ub97c \uc5b4\ub5bb\uac8c \uc774\ud574\ud558\uace0 \ud574\uc11d\ud560\uc9c0\uc5d0 \ub300\ud55c \uace0\ubbfc\uc774 \ud544\uc694\ud569\ub2c8\ub2e4. \ub530\ub77c\uc11c \uc774\ubc88\uc5d0\ub294 \ubb38\uc81c\uc5d0 \ub300\ud55c \uc811\uadfc \uacfc\uc815, \ucf54\ub4dc \uc791\uc131, \uc131\ub2a5 \ubd84\uc11d, \uadf8\ub9ac\uace0 \ucd5c\uc801\ud654 \uc804\ub7b5\uc5d0 \ub300\ud574 \uc790\uc138\ud788 \ub2e4\ub8e8\ub3c4\ub85d \ud558\uaca0\uc2b5\ub2c8\ub2e4.<\/p>\n<h2>\ubb38\uc81c \uc124\uba85<\/h2>\n<p>\ubb38\uc81c\uc758 \uc804\ubc18\uc801 \uc815\uc758\ub294 \ub2e4\uc74c\uacfc \uac19\uc2b5\ub2c8\ub2e4. \uc8fc\uc5b4\uc9c4 \ub192\uc774\uc758 \ubc30\uc5f4\uc774 \uc788\uc744 \ub54c, \ube44\uac00 \uc62c \uacbd\uc6b0 \uc5b4\ub5a4 \uc9c0\uc5ed\uc5d0 \uc5bc\ub9c8\ub098 \ub9ce\uc740 \ubb3c\uc774 \uace0\uc77c \uc218 \uc788\ub294\uc9c0\ub97c \uacc4\uc0b0\ud558\ub294 \ubb38\uc81c\uc785\ub2c8\ub2e4. \uc774\ub294 &#8220;Trapping Rain Water&#8221; \ubb38\uc81c\ub85c \ub110\ub9ac \uc54c\ub824\uc838 \uc788\uc73c\uba70, \ub2e4\uc591\ud558\uace0 \ud765\ubbf8\ub85c\uc6b4 \ud574\uacb0 \ubc29\ubc95\uc774 \uc874\uc7ac\ud569\ub2c8\ub2e4.<\/p>\n<h3>\ubb38\uc81c \uc608\uc2dc<\/h3>\n<p>\ub192\uc774 \ubc30\uc5f4\uc774 \uc8fc\uc5b4\uc84c\ub2e4\uace0 \uac00\uc815\ud574 \ubcf4\uaca0\uc2b5\ub2c8\ub2e4. \uc544\ub798\uc758 \ubc30\uc5f4\uc744 \uc608\ub85c \ub4e4\uc5b4 \ubcfc\uae4c\uc694:<\/p>\n<pre>\n{0, 1, 0, 2, 1, 0, 1, 3, 2, 1, 2, 1}\n<\/pre>\n<p>\uc704\uc640 \uac19\uc740 \ubc30\uc5f4\uc774 \uc8fc\uc5b4\uc9c8 \ub54c, \ube44\uac00 \ub0b4\ub9ac\uba74 \ub2e4\uc74c\uacfc \uac19\uc774 \ubb3c\uc774 \uace0\uc77c \uc218 \uc788\uc2b5\ub2c8\ub2e4:<\/p>\n<ul>\n<li>\uc778\ub371\uc2a4 0: \ubb3c\uc774 \uace0\uc774\uc9c0 \uc54a\uc74c<\/li>\n<li>\uc778\ub371\uc2a4 1: \ubb3c\uc774 \uace0\uc774\uc9c0 \uc54a\uc74c<\/li>\n<li>\uc778\ub371\uc2a4 2: 1 \uc720\ub2db\uc758 \ubb3c<\/li>\n<li>\uc778\ub371\uc2a4 3: \ubb3c\uc774 \uace0\uc774\uc9c0 \uc54a\uc74c<\/li>\n<li>\uc778\ub371\uc2a4 4: 1 \uc720\ub2db\uc758 \ubb3c<\/li>\n<li>\uc778\ub371\uc2a4 5: 2 \uc720\ub2db\uc758 \ubb3c<\/li>\n<li>\uc778\ub371\uc2a4 6: 1 \uc720\ub2db\uc758 \ubb3c<\/li>\n<li>\uc778\ub371\uc2a4 7: \ubb3c\uc774 \uace0\uc774\uc9c0 \uc54a\uc74c<\/li>\n<li>\uc778\ub371\uc2a4 8: 1 \uc720\ub2db\uc758 \ubb3c<\/li>\n<li>\uc778\ub371\uc2a4 9: 1 \uc720\ub2db\uc758 \ubb3c<\/li>\n<li>\uc778\ub371\uc2a4 10: 1 \uc720\ub2db\uc758 \ubb3c<\/li>\n<li>\uc778\ub371\uc2a4 11: \ubb3c\uc774 \uace0\uc774\uc9c0 \uc54a\uc74c<\/li>\n<\/ul>\n<p>\ub530\ub77c\uc11c \ucd1d \uace0\uc778 \ubb3c\uc758 \uc591\uc740 6 \uc720\ub2db\uc785\ub2c8\ub2e4.<\/p>\n<h2>\ubb38\uc81c \uc811\uadfc \ubc29\ubc95<\/h2>\n<p>\ubb38\uc81c\ub97c \ud574\uacb0\ud558\uae30 \uc704\ud574\uc11c\ub294 \uba3c\uc800 \uc5b4\ub5bb\uac8c \ubb3c\uc774 \uace0\uc774\ub294\uc9c0\ub97c \uc774\ud574\ud574\uc57c \ud569\ub2c8\ub2e4. \ubb3c\uc774 \uace0\uc77c \uc218 \uc788\ub294 \uc591\uc740 \ud2b9\uc815 \uc778\ub371\uc2a4 \uc8fc\ubcc0\uc758 \ub192\uc740 \uacbd\uacc4\uc5d0 \ub530\ub77c \uacb0\uc815\ub429\ub2c8\ub2e4. \uc608\ub97c \ub4e4\uc5b4, \uc5b4\ub5a4 \uc704\uce58\uc5d0\uc11c \ubb3c\uc774 \uace0\uc774\uae30 \uc704\ud574\uc11c\ub294 \uadf8 \uc704\uce58\uc758 \uc591\ucabd\uc5d0 \ub354 \ub192\uc740 \uacbd\uacc4\uac00 \uc874\uc7ac\ud574\uc57c \ud558\uba70, \uc774 \ub450 \uacbd\uacc4\uc758 \ub0ae\uc740 \ubd80\ubd84\uc774 \ubb3c\uc774 \uace0\uc77c \uc218 \uc788\ub294 \ub192\uc774\uc785\ub2c8\ub2e4.<\/p>\n<p>\uc774\ub97c \uacc4\uc0b0\ud558\ub294 \ubc29\ubc95\uc73c\ub85c\ub294 \uc5ec\ub7ec \uac00\uc9c0\uac00 \uc788\uc73c\uba70, \uc5ec\uae30\uc11c\ub294 \ub450 \uac00\uc9c0 \ubc29\ubc95\uc744 \uc18c\uac1c\ud560 \uac83\uc785\ub2c8\ub2e4:<\/p>\n<ol>\n<li>\ud22c \ud3ec\uc778\ud130 \ubc29\uc2dd<\/li>\n<li>DP(\ub3d9\uc801 \ud504\ub85c\uadf8\ub798\ubc0d) \ubc29\uc2dd<\/li>\n<\/ol>\n<h3>\ud22c \ud3ec\uc778\ud130 \ubc29\uc2dd<\/h3>\n<p>\uccab \ubc88\uc9f8 \uc811\uadfc \ubc29\uc2dd\uc740 \ud22c \ud3ec\uc778\ud130\ub97c \uc0ac\uc6a9\ud558\ub294 \ubc29\ubc95\uc785\ub2c8\ub2e4. \uc67c\ucabd\uacfc \uc624\ub978\ucabd\uc5d0\uc11c \uac01\uac01 \ud3ec\uc778\ud130\ub97c \ub450\uace0, \ub192\uc740 \ubcbd\uc744 \uae30\uc900\uc73c\ub85c \ubb3c\uc758 \uc591\uc744 \uacc4\uc0b0\ud574 \ub098\uac00\ub294 \ubc29\uc2dd\uc785\ub2c8\ub2e4. \uc774 \ubc29\ubc95\uc740 O(n) \uc2dc\uac04 \ubcf5\uc7a1\ub3c4\ub85c \ubcf4\ud1b5 \ubc30\uc5f4\uc744 \ud55c \ubc88\ub9cc \uc21c\ud68c\ud558\uc5ec \ubb38\uc81c\ub97c \ud574\uacb0\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<h4>\uc54c\uace0\ub9ac\uc998 \uc124\uba85<\/h4>\n<ol>\n<li>\ubc30\uc5f4\uc758 \uc67c\ucabd\uacfc \uc624\ub978\ucabd \ub05d\uc5d0 \uac01\uac01 \ud3ec\uc778\ud130\ub97c \ub450\uace0, \uc67c\ucabd\uacfc \uc624\ub978\ucabd\uc758 \ucd5c\ub300 \ub192\uc774\ub97c \uc800\uc7a5\ud560 \ubcc0\uc218\ub97c \ucd08\uae30\ud654\ud569\ub2c8\ub2e4.<\/li>\n<li>\ub450 \ud3ec\uc778\ud130\uac00 \uc11c\ub85c \uad50\ucc28\ud560 \ub54c\uae4c\uc9c0 \ubc18\ubcf5\ud569\ub2c8\ub2e4.<\/li>\n<li>\uc67c\ucabd \ud3ec\uc778\ud130\uc758 \ud604\uc7ac \ub192\uc774\uac00 \uc624\ub978\ucabd \ud3ec\uc778\ud130\uc758 \ub192\uc774\ubcf4\ub2e4 \ub0ae\uc740 \uacbd\uc6b0, \uc67c\ucabd \ud3ec\uc778\ud130\ub97c \ud55c \uce78 \uc624\ub978\ucabd\uc73c\ub85c \uc774\ub3d9\uc2dc\ud0a4\uace0, \ud574\ub2f9 \uc704\uce58\uc5d0 \uc800\uc7a5\ub41c \ucd5c\ub300 \ub192\uc774\uc640\uc758 \ucc28\uc774\ub97c \uc774\uc6a9\ud558\uc5ec \uace0\uc778 \ubb3c\uc758 \uc591\uc744 \uacc4\uc0b0\ud569\ub2c8\ub2e4.<\/li>\n<li>\uadf8\ub807\uc9c0 \uc54a\uc740 \uacbd\uc6b0, \uc624\ub978\ucabd \ud3ec\uc778\ud130\ub97c \ud55c \uce78 \uc67c\ucabd\uc73c\ub85c \uc774\ub3d9\uc2dc\ud0a4\uace0, \uc720\uc0ac\ud55c \uacc4\uc0b0\uc744 \ud569\ub2c8\ub2e4.<\/li>\n<\/ol>\n<h4>\ucf54\ub4dc \uad6c\ud604<\/h4>\n<pre>\n#include <iostream>\n#include <vector>\nusing namespace std;\n\nint trap(vector<int>&amp; height) {\n    if (height.size() == 0) return 0;\n\n    int left = 0, right = height.size() - 1;\n    int left_max = 0, right_max = 0;\n    int water_trapped = 0;\n\n    while (left &lt; right) {\n        if (height[left] &lt; height[right]) {\n            if (height[left] &gt;= left_max) {\n                left_max = height[left];\n            } else {\n                water_trapped += left_max - height[left];\n            }\n            left++;\n        } else {\n            if (height[right] &gt;= right_max) {\n                right_max = height[right];\n            } else {\n                water_trapped += right_max - height[right];\n            }\n            right--;\n        }\n    }\n    return water_trapped;\n}\n\nint main() {\n    vector<int> height = {0, 1, 0, 2, 1, 0, 1, 3, 2, 1, 2, 1};\n    cout &lt;&lt; \"Total water trapped: \" &lt;&lt; trap(height) &lt;&lt; endl;\n    return 0;\n}\n<\/int><\/int><\/vector><\/iostream><\/pre>\n<h3>\ub3d9\uc801 \ud504\ub85c\uadf8\ub798\ubc0d \ubc29\uc2dd<\/h3>\n<p>\ub3d9\uc801 \ud504\ub85c\uadf8\ub798\ubc0d\uc744 \uc0ac\uc6a9\ud558\ub294 \ubc29\ubc95\ub3c4 \uc788\uc2b5\ub2c8\ub2e4. \uc774 \ubc29\ubc95\uc740 \uac01 \uc778\ub371\uc2a4\uc5d0\uc11c \ubb3c\uc774 \uace0\uc77c \uc218 \uc788\ub294 \uc591\uc744 \uc0ac\uc804\uc5d0 \uacc4\uc0b0\ud574 \ub193\uc740 \ubc30\uc5f4\uc744 \ubc14\ud0d5\uc73c\ub85c \uc9c4\ud589\ub429\ub2c8\ub2e4. \uc774 \ub610\ud55c O(n) \uc2dc\uac04 \ubcf5\uc7a1\ub3c4\ub97c \uac00\uc9d1\ub2c8\ub2e4.<\/p>\n<h4>\uc54c\uace0\ub9ac\uc998 \uc124\uba85<\/h4>\n<ol>\n<li>\uc815\uc218 \ubc30\uc5f4\uc758 \uae38\uc774\ub97c \uad6c\ud558\uace0, \ub450 \uac1c\uc758 \ubc30\uc5f4\uc744 \uc0dd\uc131\ud569\ub2c8\ub2e4. \ud558\ub098\ub294 \uc67c\ucabd\uc5d0\uc11c\ubd80\ud130\uc758 \ucd5c\ub300 \ub192\uc774 \ubc30\uc5f4, \ub2e4\ub978 \ud558\ub098\ub294 \uc624\ub978\ucabd\uc5d0\uc11c\ubd80\ud130\uc758 \ucd5c\ub300 \ub192\uc774 \ubc30\uc5f4\uc785\ub2c8\ub2e4.<\/li>\n<li>\uc67c\ucabd \ucd5c\ub300 \ub192\uc774 \ubc30\uc5f4\uc744 \ucc44\uc6c1\ub2c8\ub2e4. \uac01 \uc778\ub371\uc2a4\uc5d0\uc11c\uc758 \ucd5c\ub300 \ub192\uc774\ub294 \uc774\uc804 \uc778\ub371\uc2a4\uc758 \ucd5c\ub300 \ub192\uc774\uc640 \ud604\uc7ac \ub192\uc774 \uc911 \ub354 \ud070 \uac12\uc744 \uc120\ud0dd\ud558\uc5ec \uc124\uc815\ud569\ub2c8\ub2e4.<\/li>\n<li>\uc624\ub978\ucabd \ucd5c\ub300 \ub192\uc774 \ubc30\uc5f4\uc744 \ucc44\uc6b0\ub294 \uacfc\uc815\ub3c4 \uc720\uc0ac\ud558\uac8c \uc9c4\ud589\ud569\ub2c8\ub2e4.<\/li>\n<li>\ub9c8\uc9c0\ub9c9\uc73c\ub85c \uac01 \uc778\ub371\uc2a4\uc758 \uace0\uc778 \ubb3c\uc758 \uc591\uc740 \ub450 \ucd5c\ub300 \ub192\uc774 \ubc30\uc5f4\uc744 \ubc14\ud0d5\uc73c\ub85c \uacb0\uc815\ub429\ub2c8\ub2e4: min(left_max[i], right_max[i]) &#8211; height[i] \uc785\ub2c8\ub2e4.<\/li>\n<\/ol>\n<h4>\ucf54\ub4dc \uad6c\ud604<\/h4>\n<pre>\n#include <iostream>\n#include <vector>\nusing namespace std;\n\nint trap(vector<int>&amp; height) {\n    if (height.size() == 0) return 0;\n    int n = height.size();\n    vector<int> left_max(n);\n    vector<int> right_max(n);\n    int water_trapped = 0;\n\n    \/\/ \uc67c\ucabd \ucd5c\ub300 \ub192\uc774 \uacc4\uc0b0\n    left_max[0] = height[0];\n    for (int i = 1; i &lt; n; i++) {\n        left_max[i] = max(left_max[i - 1], height[i]);\n    }\n\n    \/\/ \uc624\ub978\ucabd \ucd5c\ub300 \ub192\uc774 \uacc4\uc0b0\n    right_max[n - 1] = height[n - 1];\n    for (int i = n - 2; i &gt;= 0; i--) {\n        right_max[i] = max(right_max[i + 1], height[i]);\n    }\n\n    \/\/ \uace0\uc778 \ubb3c\uc758 \uc591 \uacc4\uc0b0\n    for (int i = 0; i &lt; n; i++) {\n        water_trapped += min(left_max[i], right_max[i]) - height[i];\n    }\n    return water_trapped;\n}\n\nint main() {\n    vector<int> height = {0, 1, 0, 2, 1, 0, 1, 3, 2, 1, 2, 1};\n    cout &lt;&lt; \"Total water trapped: \" &lt;&lt; trap(height) &lt;&lt; endl;\n    return 0;\n}\n<\/int><\/int><\/int><\/int><\/vector><\/iostream><\/pre>\n<h2>\uc131\ub2a5 \ubd84\uc11d<\/h2>\n<p>\uc704\uc758 \ub450 \uac00\uc9c0 \uc811\uadfc \ubc29\uc2dd \ubaa8\ub450 O(n)\uc758 \uc2dc\uac04 \ubcf5\uc7a1\ub3c4\ub97c \uac00\uc9d1\ub2c8\ub2e4. \ud558\uc9c0\ub9cc \uacf5\uac04 \ubcf5\uc7a1\ub3c4\uac00 \uc911\uc694\ud55c \uacbd\uc6b0, \ud22c \ud3ec\uc778\ud130 \ubc29\uc2dd\uc774 \ub354 \ud6a8\uc728\uc801\uc785\ub2c8\ub2e4. \ubc18\uba74 \ub3d9\uc801 \ud504\ub85c\uadf8\ub798\ubc0d \ubc29\uc2dd\uc740 \ucd94\uac00\uc801\uc778 O(n)\uc758 \uacf5\uac04\uc744 \ud544\uc694\ub85c \ud558\ubbc0\ub85c, \uba54\ubaa8\ub9ac \uc0ac\uc6a9\ub7c9\uc774 \uc911\uc694\ud55c \uacbd\uc6b0 \uc8fc\uc758\ud574\uc57c \ud569\ub2c8\ub2e4.<\/p>\n<h2>\ucd5c\uc801\ud654 \uc804\ub7b5<\/h2>\n<p>C++ \ucf54\ub529 \ud14c\uc2a4\ud2b8\uc5d0\uc11c \uc131\ub2a5\uc744 \uadf9\ub300\ud654\ud558\uae30 \uc704\ud574 \ubaa8\uc9d1\ub2e8, \ubc30\uc5f4 \ud06c\uae30, \uc54c\uace0\ub9ac\uc998 \ubcf5\uc7a1\ub3c4 \ub4f1\uc744 \ud56d\uc0c1 \uace0\ub824\ud574\uc57c \ud569\ub2c8\ub2e4. \ub610\ud55c \ucef4\ud30c\uc77c\ub7ec \ucd5c\uc801\ud654\uc5d0\ub3c4 \uc720\uc758\ud574\uc57c \ud558\uba70, \ubd88\ud544\uc694\ud55c \ubcc0\uc218\ub97c \uc904\uc774\uace0 \uba54\ubaa8\ub9ac \uad00\ub9ac\uc5d0 \uc2e0\uacbd\uc744 \uae30\uc6b8\uc774\ub294 \uac83\uc774 \uc88b\uc2b5\ub2c8\ub2e4.<\/p>\n<h3>\uacb0\ub860<\/h3>\n<p>\uc774\ubc88 \uac15\uc88c\uc5d0\uc11c\ub294 \ubb3c\uc758 \uc591 \uad6c\ud558\uae30 \ubb38\uc81c\ub97c \ud1b5\ud574 C++\uc758 \uae30\ubcf8\uc801\uc778 \ubc30\uc5f4 \ucc98\ub9ac \ubc0f \uc54c\uace0\ub9ac\uc998 \uc791\uc131 \ubc29\ubc95\uc744 \uc54c\uc544\ubcf4\uc558\uc2b5\ub2c8\ub2e4. \ub2e4\uc591\ud55c \uc811\uadfc \ubc29\ubc95\uacfc \uac01 \ubc29\ubc95\uc758 \uc7a5\ub2e8\uc810\uc744 \ubd84\uc11d\ud558\uba74\uc11c, \uc5b4\ub5bb\uac8c \ucd5c\uc801\ud654\ud560 \uc218 \uc788\ub294\uc9c0\uc5d0 \ub300\ud574\uc11c\ub3c4 \uc0b4\ud3b4\ubcf4\uc558\uc2b5\ub2c8\ub2e4. \uc55e\uc73c\ub85c\uc758 \ucf54\ub529\ud14c\uc2a4\ud2b8\uc5d0\uc11c \uc5bb\uc740 \uc9c0\uc2dd\uacfc \uacbd\ud5d8\uc774 \ub9e4\uc6b0 \uc720\uc6a9\ud558\uac8c \ud65c\uc6a9\ub418\uae38 \ubc14\ub78d\ub2c8\ub2e4.<\/p>\n<p>\ud56d\uc0c1 \uc5f0\uc2b5\ud558\uace0 \uac1c\uc120\ud558\ub294 \uc5ec\ub7ec\ubd84\uc774 \ub418\uae38 \ubc14\ub78d\ub2c8\ub2e4! \uac10\uc0ac\ud569\ub2c8\ub2e4.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\uc5ec\ub7ec\ubd84 \uc548\ub155\ud558\uc138\uc694! \uc774\ubc88 \uac15\uc88c\uc5d0\uc11c\ub294 \ubb3c\uc758 \uc591\uc744 \uad6c\ud558\ub294 \ubb38\uc81c\ub97c \ud1b5\ud574 C++ \ud504\ub85c\uadf8\ub798\ubc0d \uc5b8\uc5b4\uc758 \uae30\ucd08\uc640 \uc54c\uace0\ub9ac\uc998 \ubb38\uc81c \ud574\uacb0 \uacfc\uc815\uc744 \uc790\uc138\ud788 \uc0b4\ud3b4\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. \uc54c\uace0\ub9ac\uc998 \ubb38\uc81c\ub294 \ub2e8\uc21c\ud55c \ucf54\ub4dc \uc791\uc131\uc744 \ub118\uc5b4\uc11c, \ubb38\uc81c\ub97c \uc5b4\ub5bb\uac8c \uc774\ud574\ud558\uace0 \ud574\uc11d\ud560\uc9c0\uc5d0 \ub300\ud55c \uace0\ubbfc\uc774 \ud544\uc694\ud569\ub2c8\ub2e4. \ub530\ub77c\uc11c \uc774\ubc88\uc5d0\ub294 \ubb38\uc81c\uc5d0 \ub300\ud55c \uc811\uadfc \uacfc\uc815, \ucf54\ub4dc \uc791\uc131, \uc131\ub2a5 \ubd84\uc11d, \uadf8\ub9ac\uace0 \ucd5c\uc801\ud654 \uc804\ub7b5\uc5d0 \ub300\ud574 \uc790\uc138\ud788 \ub2e4\ub8e8\ub3c4\ub85d \ud558\uaca0\uc2b5\ub2c8\ub2e4. \ubb38\uc81c \uc124\uba85 \ubb38\uc81c\uc758 \uc804\ubc18\uc801 \uc815\uc758\ub294 \ub2e4\uc74c\uacfc &hellip; <a href=\"https:\/\/atmokpo.com\/w\/27607\/\" class=\"more-link\">\ub354 \ubcf4\uae30<span class=\"screen-reader-text\"> &#8220;C++ \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ubb3c\uc758 \uc591 \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-27607","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, \ubb3c\uc758 \uc591 \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\/27607\/\" \/>\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, \ubb3c\uc758 \uc591 \uad6c\ud558\uae30 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"og:description\" content=\"\uc5ec\ub7ec\ubd84 \uc548\ub155\ud558\uc138\uc694! \uc774\ubc88 \uac15\uc88c\uc5d0\uc11c\ub294 \ubb3c\uc758 \uc591\uc744 \uad6c\ud558\ub294 \ubb38\uc81c\ub97c \ud1b5\ud574 C++ \ud504\ub85c\uadf8\ub798\ubc0d \uc5b8\uc5b4\uc758 \uae30\ucd08\uc640 \uc54c\uace0\ub9ac\uc998 \ubb38\uc81c \ud574\uacb0 \uacfc\uc815\uc744 \uc790\uc138\ud788 \uc0b4\ud3b4\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. \uc54c\uace0\ub9ac\uc998 \ubb38\uc81c\ub294 \ub2e8\uc21c\ud55c \ucf54\ub4dc \uc791\uc131\uc744 \ub118\uc5b4\uc11c, \ubb38\uc81c\ub97c \uc5b4\ub5bb\uac8c \uc774\ud574\ud558\uace0 \ud574\uc11d\ud560\uc9c0\uc5d0 \ub300\ud55c \uace0\ubbfc\uc774 \ud544\uc694\ud569\ub2c8\ub2e4. \ub530\ub77c\uc11c \uc774\ubc88\uc5d0\ub294 \ubb38\uc81c\uc5d0 \ub300\ud55c \uc811\uadfc \uacfc\uc815, \ucf54\ub4dc \uc791\uc131, \uc131\ub2a5 \ubd84\uc11d, \uadf8\ub9ac\uace0 \ucd5c\uc801\ud654 \uc804\ub7b5\uc5d0 \ub300\ud574 \uc790\uc138\ud788 \ub2e4\ub8e8\ub3c4\ub85d \ud558\uaca0\uc2b5\ub2c8\ub2e4. \ubb38\uc81c \uc124\uba85 \ubb38\uc81c\uc758 \uc804\ubc18\uc801 \uc815\uc758\ub294 \ub2e4\uc74c\uacfc &hellip; \ub354 \ubcf4\uae30 &quot;C++ \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ubb3c\uc758 \uc591 \uad6c\ud558\uae30&quot;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/atmokpo.com\/w\/27607\/\" \/>\n<meta property=\"og:site_name\" content=\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"article:published_time\" content=\"2024-10-27T14:42:20+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-11-26T07:16:50+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\/27607\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/27607\/\"},\"author\":{\"name\":\"root\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7\"},\"headline\":\"C++ \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ubb3c\uc758 \uc591 \uad6c\ud558\uae30\",\"datePublished\":\"2024-10-27T14:42:20+00:00\",\"dateModified\":\"2024-11-26T07:16:50+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/atmokpo.com\/w\/27607\/\"},\"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\/27607\/\",\"url\":\"https:\/\/atmokpo.com\/w\/27607\/\",\"name\":\"C++ \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ubb3c\uc758 \uc591 \uad6c\ud558\uae30 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#website\"},\"datePublished\":\"2024-10-27T14:42:20+00:00\",\"dateModified\":\"2024-11-26T07:16:50+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/atmokpo.com\/w\/27607\/#breadcrumb\"},\"inLanguage\":\"ko-KR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/atmokpo.com\/w\/27607\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/atmokpo.com\/w\/27607\/#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, \ubb3c\uc758 \uc591 \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, \ubb3c\uc758 \uc591 \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\/27607\/","og_locale":"ko_KR","og_type":"article","og_title":"C++ \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ubb3c\uc758 \uc591 \uad6c\ud558\uae30 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","og_description":"\uc5ec\ub7ec\ubd84 \uc548\ub155\ud558\uc138\uc694! \uc774\ubc88 \uac15\uc88c\uc5d0\uc11c\ub294 \ubb3c\uc758 \uc591\uc744 \uad6c\ud558\ub294 \ubb38\uc81c\ub97c \ud1b5\ud574 C++ \ud504\ub85c\uadf8\ub798\ubc0d \uc5b8\uc5b4\uc758 \uae30\ucd08\uc640 \uc54c\uace0\ub9ac\uc998 \ubb38\uc81c \ud574\uacb0 \uacfc\uc815\uc744 \uc790\uc138\ud788 \uc0b4\ud3b4\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. \uc54c\uace0\ub9ac\uc998 \ubb38\uc81c\ub294 \ub2e8\uc21c\ud55c \ucf54\ub4dc \uc791\uc131\uc744 \ub118\uc5b4\uc11c, \ubb38\uc81c\ub97c \uc5b4\ub5bb\uac8c \uc774\ud574\ud558\uace0 \ud574\uc11d\ud560\uc9c0\uc5d0 \ub300\ud55c \uace0\ubbfc\uc774 \ud544\uc694\ud569\ub2c8\ub2e4. \ub530\ub77c\uc11c \uc774\ubc88\uc5d0\ub294 \ubb38\uc81c\uc5d0 \ub300\ud55c \uc811\uadfc \uacfc\uc815, \ucf54\ub4dc \uc791\uc131, \uc131\ub2a5 \ubd84\uc11d, \uadf8\ub9ac\uace0 \ucd5c\uc801\ud654 \uc804\ub7b5\uc5d0 \ub300\ud574 \uc790\uc138\ud788 \ub2e4\ub8e8\ub3c4\ub85d \ud558\uaca0\uc2b5\ub2c8\ub2e4. \ubb38\uc81c \uc124\uba85 \ubb38\uc81c\uc758 \uc804\ubc18\uc801 \uc815\uc758\ub294 \ub2e4\uc74c\uacfc &hellip; \ub354 \ubcf4\uae30 \"C++ \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ubb3c\uc758 \uc591 \uad6c\ud558\uae30\"","og_url":"https:\/\/atmokpo.com\/w\/27607\/","og_site_name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","article_published_time":"2024-10-27T14:42:20+00:00","article_modified_time":"2024-11-26T07:16:50+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\/27607\/#article","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/27607\/"},"author":{"name":"root","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7"},"headline":"C++ \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ubb3c\uc758 \uc591 \uad6c\ud558\uae30","datePublished":"2024-10-27T14:42:20+00:00","dateModified":"2024-11-26T07:16:50+00:00","mainEntityOfPage":{"@id":"https:\/\/atmokpo.com\/w\/27607\/"},"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\/27607\/","url":"https:\/\/atmokpo.com\/w\/27607\/","name":"C++ \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ubb3c\uc758 \uc591 \uad6c\ud558\uae30 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/#website"},"datePublished":"2024-10-27T14:42:20+00:00","dateModified":"2024-11-26T07:16:50+00:00","breadcrumb":{"@id":"https:\/\/atmokpo.com\/w\/27607\/#breadcrumb"},"inLanguage":"ko-KR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/atmokpo.com\/w\/27607\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/atmokpo.com\/w\/27607\/#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, \ubb3c\uc758 \uc591 \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\/27607","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=27607"}],"version-history":[{"count":1,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/27607\/revisions"}],"predecessor-version":[{"id":27608,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/27607\/revisions\/27608"}],"wp:attachment":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/media?parent=27607"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/categories?post=27607"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/tags?post=27607"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}