{"id":27676,"date":"2024-10-27T14:42:59","date_gmt":"2024-10-27T14:42:59","guid":{"rendered":"http:\/\/atmokpo.com\/w\/?p=27676"},"modified":"2024-11-26T07:16:15","modified_gmt":"2024-11-26T07:16:15","slug":"c-%ec%bd%94%eb%94%a9%ed%85%8c%ec%8a%a4%ed%8a%b8-%ea%b0%95%ec%a2%8c-%ec%8b%9c%ea%b0%84-%eb%b3%b5%ec%9e%a1%eb%8f%84-%ed%99%9c%ec%9a%a9%ed%95%98%ea%b8%b0-2","status":"publish","type":"post","link":"https:\/\/atmokpo.com\/w\/27676\/","title":{"rendered":"C++ \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uc2dc\uac04 \ubcf5\uc7a1\ub3c4 \ud65c\uc6a9\ud558\uae30"},"content":{"rendered":"<article>\n<p>\ucf54\ub529 \ud14c\uc2a4\ud2b8\ub97c \uc900\ube44\ud558\uba74\uc11c \uac00\uc7a5 \uc911\uc694\ud55c \uac83 \uc911 \ud558\ub098\ub294 \ubb38\uc81c \ud574\uacb0 \ub2a5\ub825\uacfc \ud568\uaed8 \uc2dc\uac04 \ubcf5\uc7a1\ub3c4\ub97c \uc774\ud574\ud558\uace0 \ucd5c\uc801\ud654\ud558\ub294 \uac83\uc785\ub2c8\ub2e4. \uc774 \uae00\uc5d0\uc11c\ub294 C++\uc744 \uc0ac\uc6a9\ud558\uc5ec \uc2dc\uac04 \ubcf5\uc7a1\ub3c4\ub97c \uace0\ub824\ud558\uc5ec \ubb38\uc81c\ub97c \ud574\uacb0\ud558\ub294 \uacfc\uc815\uc744 \uc790\uc138\ud788 \uc124\uba85\ud558\uaca0\uc2b5\ub2c8\ub2e4.<\/p>\n<h2>\ubb38\uc81c: \ucd5c\uc7a5 \uc99d\uac00 \ubd80\ubd84 \uc218\uc5f4 (Longest Increasing Subsequence)<\/h2>\n<p>\uc8fc\uc5b4\uc9c4 \uc815\uc218 \ubc30\uc5f4\uc5d0\uc11c \ucd5c\uc7a5 \uc99d\uac00 \ubd80\ubd84 \uc218\uc5f4\uc758 \uae38\uc774\ub97c \uad6c\ud558\ub294 \ubb38\uc81c\uc785\ub2c8\ub2e4.<\/p>\n<h3>\ubb38\uc81c \uc124\uba85<\/h3>\n<p>\uc815\uc218 \ubc30\uc5f4 <code>nums<\/code>\uac00 \uc8fc\uc5b4\uc84c\uc744 \ub54c, \uc99d\uac00\ud558\ub294 \ubd80\ubd84 \uc218\uc5f4\uc758 \uac00\uc7a5 \uae34 \uae38\uc774\ub97c \ubc18\ud658\ud558\uc2dc\uc624. \ubd80\ubd84 \uc218\uc5f4\uc740 \ubc30\uc5f4\uc5d0\uc11c \uc120\ud0dd\ub41c \uc6d0\uc18c\ub4e4\uc774 \uc6d0\ub798\uc758 \uc21c\uc11c\ub97c \uc720\uc9c0\ud574\uc57c \ud558\uc9c0\ub9cc \uc5f0\uc18d\uc801\uc77c \ud544\uc694\ub294 \uc5c6\uc2b5\ub2c8\ub2e4.<\/p>\n<h3>\uc608\uc81c<\/h3>\n<pre>\n    \uc785\ub825: nums = [10, 9, 2, 5, 3, 7, 101, 18]\n    \ucd9c\ub825: 4\n    \uc124\uba85: \ucd5c\uc7a5 \uc99d\uac00 \ubd80\ubd84 \uc218\uc5f4\uc740 [2, 3, 7, 101]\ub85c, \uae38\uc774\ub294 4\uc785\ub2c8\ub2e4.\n    <\/pre>\n<h3>\uc811\uadfc \ubc29\ubc95<\/h3>\n<p>\uc774 \ubb38\uc81c\ub294 \ub3d9\uc801 \uacc4\ud68d\ubc95(Dynamic Programming)\uacfc \uc774\uc9c4 \uac80\uc0c9(Binary Search)\uc744 \uc870\ud569\ud558\uc5ec \ud574\uacb0\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc2dc\uac04 \ubcf5\uc7a1\ub3c4\ub97c \uace0\ub824\ud558\uc5ec \ub2e4\uc74c\uacfc \uac19\uc740 \uc811\uadfc \ubc29\ubc95\uc744 \uc0ac\uc6a9\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4:<\/p>\n<h4>1. \ub3d9\uc801 \uacc4\ud68d\ubc95\uc744 \uc774\uc6a9\ud55c \uc811\uadfc<\/h4>\n<p>\uc6b0\uc120, \uac01 \uc6d0\uc18c\ub9c8\ub2e4 \uc790\uc2e0\uc744 \ub9c8\uc9c0\ub9c9 \uc6d0\uc18c\ub85c \ud558\ub294 \uc99d\uac00 \ubd80\ubd84 \uc218\uc5f4\uc758 \uae38\uc774\ub97c \uae30\ub85d\ud569\ub2c8\ub2e4. \uadf8\ub7ec\uba74 \uac01 \uc694\uc18c\ub97c \uc21c\ud68c\ud558\uba70 \uc774\uc804\uc758 \ubaa8\ub4e0 \uc694\uc18c\uc640 \ube44\uad50\ud558\uc5ec \uac00\ub2a5\ud558\uba74 \ubd80\ubd84 \uc218\uc5f4\uc758 \uae38\uc774\ub97c \uc5c5\ub370\uc774\ud2b8\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<h4>2. \uc774\uc9c4 \uac80\uc0c9\uacfc \uacb0\ud569<\/h4>\n<p>\ucd5c\uc885\uc801\uc73c\ub85c \uc6b0\ub9ac\ub294 \ubd80\ubd84 \uc218\uc5f4\uc758 \ub05d \uc6d0\uc18c\ub97c \uae30\ub85d\ud558\uae30 \uc704\ud55c \ubc30\uc5f4\uc744 \uc0ac\uc6a9\ud558\uace0, \uc774 \ubc30\uc5f4\uc5d0\uc11c \uac01 \uc694\uc18c\uc5d0 \ub300\ud574 \uc774\uc9c4 \uac80\uc0c9\uc744 \uc801\uc6a9\ud558\uc5ec \ud604\uc7ac \uc6d0\uc18c\ub97c \uc0bd\uc785\ud560 \uc704\uce58\ub97c \ucc3e\uc2b5\ub2c8\ub2e4. \uc774 \ubc29\ubc95\uc744 \ud1b5\ud574 \ub354 \ucd5c\uc801\ud654\ub41c \uc131\ub2a5\uc744 \ub2ec\uc131\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<h3>\uad6c\ud604<\/h3>\n<p>\ub2e4\uc74c\uc740 C++\ub85c \uc774 \ubb38\uc81c\ub97c \ud574\uacb0\ud558\ub294 \ucf54\ub4dc\uc785\ub2c8\ub2e4:<\/p>\n<pre><code>\n#include &lt;iostream&gt;\n#include &lt;vector&gt;\n#include &lt;algorithm&gt;\n\nusing namespace std;\n\nint lengthOfLIS(vector&lt;int&gt;&amp; nums) {\n    if (nums.empty()) return 0;\n\n    vector&lt;int&gt; dp;\n    for (int num : nums) {\n        auto it = lower_bound(dp.begin(), dp.end(), num);\n        if (it == dp.end()) {\n            dp.push_back(num);\n        } else {\n            *it = num;\n        }\n    }\n    return dp.size();\n}\n\nint main() {\n    vector&lt;int&gt; nums = {10, 9, 2, 5, 3, 7, 101, 18};\n    cout &lt;&lt; \"\ucd5c\uc7a5 \uc99d\uac00 \ubd80\ubd84 \uc218\uc5f4\uc758 \uae38\uc774: \" &lt;&lt; lengthOfLIS(nums) &lt;&lt; endl;\n    return 0;\n}\n    <\/code><\/pre>\n<h3>\uc2dc\uac04 \ubcf5\uc7a1\ub3c4 \ubd84\uc11d<\/h3>\n<p>\uc774 \ubb38\uc81c\uc758 \uc2dc\uac04 \ubcf5\uc7a1\ub3c4\ub294 O(n log n)\uc785\ub2c8\ub2e4. \uac01\uac01\uc758 \uc6d0\uc18c\uc5d0 \ub300\ud574 \uc774\uc9c4 \uac80\uc0c9\uc744 \uc218\ud589\ud558\uc5ec \uc801\uc808\ud55c \uc704\uce58\ub97c \ucc3e\uace0, \uc774\uc9c4 \uac80\uc0c9\uc758 \uc2dc\uac04 \ubcf5\uc7a1\ub3c4\ub294 log n\uc785\ub2c8\ub2e4. \ub530\ub77c\uc11c \uc804\uccb4\uc801\uc778 \uc2dc\uac04 \ubcf5\uc7a1\ub3c4\ub294 O(n log n)\uc774\uace0, \uacf5\uac04 \ubcf5\uc7a1\ub3c4\ub294 O(n)\uc785\ub2c8\ub2e4.<\/p>\n<h3>\uacb0\ub860<\/h3>\n<p>\uc774\uc640 \uac19\uc740 \ubb38\uc81c\ub294 \ubc30\uc5f4\uc5d0\uc11c \ucd5c\uc7a5 \uc99d\uac00 \ubd80\ubd84 \uc218\uc5f4\uc744 \ucc3e\ub294 \uac83\ucc98\ub7fc, \uc2dc\uac04 \ubcf5\uc7a1\ub3c4\ub97c \uc904\uc774\uae30 \uc704\ud574 \ub3d9\uc801 \uacc4\ud68d\ubc95\uacfc \uc774\uc9c4 \uac80\uc0c9\uc744 \uc870\ud569\ud558\ub294 \uac83\uc774 \uc911\uc694\ud569\ub2c8\ub2e4. C++\uc758 STL\uc5d0\uc11c \uc81c\uacf5\ud558\ub294 \uc720\uc6a9\ud55c \ud568\uc218\uc640 \uc790\ub8cc\uad6c\uc870\ub97c \uc798 \ud65c\uc6a9\ud558\uba74 \ub354\uc6b1 \ud6a8\uc728\uc801\uc778 \ucf54\ub4dc\ub97c \uc791\uc131\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<p>\uc774 \uae00\uc5d0\uc11c\ub294 C++\ub97c \uc0ac\uc6a9\ud558\uc5ec \uc2dc\uac04 \ubcf5\uc7a1\ub3c4 \ubd84\uc11d\uacfc \uc774\ub97c \ud65c\uc6a9\ud55c \uc54c\uace0\ub9ac\uc998 \ubb38\uc81c \ud574\uacb0 \ubc29\ubc95\uc744 \uc124\uba85\ud588\uc2b5\ub2c8\ub2e4. \uc55e\uc73c\ub85c\uc758 \ucf54\ub529 \ud14c\uc2a4\ud2b8 \uc900\ube44\uc5d0 \ub3c4\uc6c0\uc774 \ub418\uc5c8\uae30\ub97c \ubc14\ub78d\ub2c8\ub2e4!<\/p>\n<\/article>\n","protected":false},"excerpt":{"rendered":"<p>\ucf54\ub529 \ud14c\uc2a4\ud2b8\ub97c \uc900\ube44\ud558\uba74\uc11c \uac00\uc7a5 \uc911\uc694\ud55c \uac83 \uc911 \ud558\ub098\ub294 \ubb38\uc81c \ud574\uacb0 \ub2a5\ub825\uacfc \ud568\uaed8 \uc2dc\uac04 \ubcf5\uc7a1\ub3c4\ub97c \uc774\ud574\ud558\uace0 \ucd5c\uc801\ud654\ud558\ub294 \uac83\uc785\ub2c8\ub2e4. \uc774 \uae00\uc5d0\uc11c\ub294 C++\uc744 \uc0ac\uc6a9\ud558\uc5ec \uc2dc\uac04 \ubcf5\uc7a1\ub3c4\ub97c \uace0\ub824\ud558\uc5ec \ubb38\uc81c\ub97c \ud574\uacb0\ud558\ub294 \uacfc\uc815\uc744 \uc790\uc138\ud788 \uc124\uba85\ud558\uaca0\uc2b5\ub2c8\ub2e4. \ubb38\uc81c: \ucd5c\uc7a5 \uc99d\uac00 \ubd80\ubd84 \uc218\uc5f4 (Longest Increasing Subsequence) \uc8fc\uc5b4\uc9c4 \uc815\uc218 \ubc30\uc5f4\uc5d0\uc11c \ucd5c\uc7a5 \uc99d\uac00 \ubd80\ubd84 \uc218\uc5f4\uc758 \uae38\uc774\ub97c \uad6c\ud558\ub294 \ubb38\uc81c\uc785\ub2c8\ub2e4. \ubb38\uc81c \uc124\uba85 \uc815\uc218 \ubc30\uc5f4 nums\uac00 \uc8fc\uc5b4\uc84c\uc744 \ub54c, \uc99d\uac00\ud558\ub294 &hellip; <a href=\"https:\/\/atmokpo.com\/w\/27676\/\" class=\"more-link\">\ub354 \ubcf4\uae30<span class=\"screen-reader-text\"> &#8220;C++ \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uc2dc\uac04 \ubcf5\uc7a1\ub3c4 \ud65c\uc6a9\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-27676","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, \uc2dc\uac04 \ubcf5\uc7a1\ub3c4 \ud65c\uc6a9\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\/27676\/\" \/>\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, \uc2dc\uac04 \ubcf5\uc7a1\ub3c4 \ud65c\uc6a9\ud558\uae30 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"og:description\" content=\"\ucf54\ub529 \ud14c\uc2a4\ud2b8\ub97c \uc900\ube44\ud558\uba74\uc11c \uac00\uc7a5 \uc911\uc694\ud55c \uac83 \uc911 \ud558\ub098\ub294 \ubb38\uc81c \ud574\uacb0 \ub2a5\ub825\uacfc \ud568\uaed8 \uc2dc\uac04 \ubcf5\uc7a1\ub3c4\ub97c \uc774\ud574\ud558\uace0 \ucd5c\uc801\ud654\ud558\ub294 \uac83\uc785\ub2c8\ub2e4. \uc774 \uae00\uc5d0\uc11c\ub294 C++\uc744 \uc0ac\uc6a9\ud558\uc5ec \uc2dc\uac04 \ubcf5\uc7a1\ub3c4\ub97c \uace0\ub824\ud558\uc5ec \ubb38\uc81c\ub97c \ud574\uacb0\ud558\ub294 \uacfc\uc815\uc744 \uc790\uc138\ud788 \uc124\uba85\ud558\uaca0\uc2b5\ub2c8\ub2e4. \ubb38\uc81c: \ucd5c\uc7a5 \uc99d\uac00 \ubd80\ubd84 \uc218\uc5f4 (Longest Increasing Subsequence) \uc8fc\uc5b4\uc9c4 \uc815\uc218 \ubc30\uc5f4\uc5d0\uc11c \ucd5c\uc7a5 \uc99d\uac00 \ubd80\ubd84 \uc218\uc5f4\uc758 \uae38\uc774\ub97c \uad6c\ud558\ub294 \ubb38\uc81c\uc785\ub2c8\ub2e4. \ubb38\uc81c \uc124\uba85 \uc815\uc218 \ubc30\uc5f4 nums\uac00 \uc8fc\uc5b4\uc84c\uc744 \ub54c, \uc99d\uac00\ud558\ub294 &hellip; \ub354 \ubcf4\uae30 &quot;C++ \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uc2dc\uac04 \ubcf5\uc7a1\ub3c4 \ud65c\uc6a9\ud558\uae30&quot;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/atmokpo.com\/w\/27676\/\" \/>\n<meta property=\"og:site_name\" content=\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"article:published_time\" content=\"2024-10-27T14:42:59+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-11-26T07:16:15+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\/27676\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/27676\/\"},\"author\":{\"name\":\"root\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7\"},\"headline\":\"C++ \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uc2dc\uac04 \ubcf5\uc7a1\ub3c4 \ud65c\uc6a9\ud558\uae30\",\"datePublished\":\"2024-10-27T14:42:59+00:00\",\"dateModified\":\"2024-11-26T07:16:15+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/atmokpo.com\/w\/27676\/\"},\"wordCount\":25,\"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\/27676\/\",\"url\":\"https:\/\/atmokpo.com\/w\/27676\/\",\"name\":\"C++ \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uc2dc\uac04 \ubcf5\uc7a1\ub3c4 \ud65c\uc6a9\ud558\uae30 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#website\"},\"datePublished\":\"2024-10-27T14:42:59+00:00\",\"dateModified\":\"2024-11-26T07:16:15+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/atmokpo.com\/w\/27676\/#breadcrumb\"},\"inLanguage\":\"ko-KR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/atmokpo.com\/w\/27676\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/atmokpo.com\/w\/27676\/#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, \uc2dc\uac04 \ubcf5\uc7a1\ub3c4 \ud65c\uc6a9\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, \uc2dc\uac04 \ubcf5\uc7a1\ub3c4 \ud65c\uc6a9\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\/27676\/","og_locale":"ko_KR","og_type":"article","og_title":"C++ \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uc2dc\uac04 \ubcf5\uc7a1\ub3c4 \ud65c\uc6a9\ud558\uae30 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","og_description":"\ucf54\ub529 \ud14c\uc2a4\ud2b8\ub97c \uc900\ube44\ud558\uba74\uc11c \uac00\uc7a5 \uc911\uc694\ud55c \uac83 \uc911 \ud558\ub098\ub294 \ubb38\uc81c \ud574\uacb0 \ub2a5\ub825\uacfc \ud568\uaed8 \uc2dc\uac04 \ubcf5\uc7a1\ub3c4\ub97c \uc774\ud574\ud558\uace0 \ucd5c\uc801\ud654\ud558\ub294 \uac83\uc785\ub2c8\ub2e4. \uc774 \uae00\uc5d0\uc11c\ub294 C++\uc744 \uc0ac\uc6a9\ud558\uc5ec \uc2dc\uac04 \ubcf5\uc7a1\ub3c4\ub97c \uace0\ub824\ud558\uc5ec \ubb38\uc81c\ub97c \ud574\uacb0\ud558\ub294 \uacfc\uc815\uc744 \uc790\uc138\ud788 \uc124\uba85\ud558\uaca0\uc2b5\ub2c8\ub2e4. \ubb38\uc81c: \ucd5c\uc7a5 \uc99d\uac00 \ubd80\ubd84 \uc218\uc5f4 (Longest Increasing Subsequence) \uc8fc\uc5b4\uc9c4 \uc815\uc218 \ubc30\uc5f4\uc5d0\uc11c \ucd5c\uc7a5 \uc99d\uac00 \ubd80\ubd84 \uc218\uc5f4\uc758 \uae38\uc774\ub97c \uad6c\ud558\ub294 \ubb38\uc81c\uc785\ub2c8\ub2e4. \ubb38\uc81c \uc124\uba85 \uc815\uc218 \ubc30\uc5f4 nums\uac00 \uc8fc\uc5b4\uc84c\uc744 \ub54c, \uc99d\uac00\ud558\ub294 &hellip; \ub354 \ubcf4\uae30 \"C++ \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uc2dc\uac04 \ubcf5\uc7a1\ub3c4 \ud65c\uc6a9\ud558\uae30\"","og_url":"https:\/\/atmokpo.com\/w\/27676\/","og_site_name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","article_published_time":"2024-10-27T14:42:59+00:00","article_modified_time":"2024-11-26T07:16:15+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\/27676\/#article","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/27676\/"},"author":{"name":"root","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7"},"headline":"C++ \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uc2dc\uac04 \ubcf5\uc7a1\ub3c4 \ud65c\uc6a9\ud558\uae30","datePublished":"2024-10-27T14:42:59+00:00","dateModified":"2024-11-26T07:16:15+00:00","mainEntityOfPage":{"@id":"https:\/\/atmokpo.com\/w\/27676\/"},"wordCount":25,"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\/27676\/","url":"https:\/\/atmokpo.com\/w\/27676\/","name":"C++ \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uc2dc\uac04 \ubcf5\uc7a1\ub3c4 \ud65c\uc6a9\ud558\uae30 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/#website"},"datePublished":"2024-10-27T14:42:59+00:00","dateModified":"2024-11-26T07:16:15+00:00","breadcrumb":{"@id":"https:\/\/atmokpo.com\/w\/27676\/#breadcrumb"},"inLanguage":"ko-KR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/atmokpo.com\/w\/27676\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/atmokpo.com\/w\/27676\/#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, \uc2dc\uac04 \ubcf5\uc7a1\ub3c4 \ud65c\uc6a9\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\/27676","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=27676"}],"version-history":[{"count":1,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/27676\/revisions"}],"predecessor-version":[{"id":27677,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/27676\/revisions\/27677"}],"wp:attachment":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/media?parent=27676"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/categories?post=27676"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/tags?post=27676"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}