{"id":27720,"date":"2024-10-27T14:43:22","date_gmt":"2024-10-27T14:43:22","guid":{"rendered":"http:\/\/atmokpo.com\/w\/?p=27720"},"modified":"2024-11-26T07:15:51","modified_gmt":"2024-11-26T07:15:51","slug":"c-%ec%bd%94%eb%94%a9%ed%85%8c%ec%8a%a4%ed%8a%b8-%ea%b0%95%ec%a2%8c-%ec%a0%88%eb%8c%93%ea%b0%92-%ed%9e%99-%ea%b5%ac%ed%98%84%ed%95%98%ea%b8%b0-2","status":"publish","type":"post","link":"https:\/\/atmokpo.com\/w\/27720\/","title":{"rendered":"C++ \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uc808\ub313\uac12 \ud799 \uad6c\ud604\ud558\uae30"},"content":{"rendered":"<p><body><\/p>\n<p>\uc774\ubc88 \uac15\uc88c\uc5d0\uc11c\ub294 \uc808\ub313\uac12 \ud799\uc744 \uad6c\ud604\ud558\ub294 \uc54c\uace0\ub9ac\uc998 \ubb38\uc81c\ub97c \ub2e4\ub8e8\uace0\uc790 \ud569\ub2c8\ub2e4. \uc774 \ubb38\uc81c\ub294 C++ \ud504\ub85c\uadf8\ub798\ubc0d\uc5d0\uc11c \uc790\uc8fc \ucd9c\uc81c\ub418\ub294 \uc720\ud615 \uc911 \ud558\ub098\ub85c, \uc6b0\uc120\uc21c\uc704 \ud050(Priority Queue)\ub97c \uc0ac\uc6a9\ud558\uc5ec \ud574\uacb0\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc808\ub313\uac12 \ud799\uc740 \ud2b9\uc815 \uc22b\uc790\uc758 \uc808\ub313\uac12\uc744 \uae30\uc900\uc73c\ub85c \uc815\ub82c\ud558\ub294 \uc790\ub8cc\uad6c\uc870\uc785\ub2c8\ub2e4.<\/p>\n<h2>\ubb38\uc81c \uc124\uba85<\/h2>\n<p>\uc808\ub313\uac12 \ud799\uc740 \ub2e4\uc74c\uacfc \uac19\uc740 \uc5f0\uc0b0\uc744 \uc9c0\uc6d0\ud569\ub2c8\ub2e4:<\/p>\n<ul>\n<li>\uc815\uc218 x\ub97c \ud799\uc5d0 \uc0bd\uc785\ud569\ub2c8\ub2e4.<\/li>\n<li>\uac00\uc7a5 \uc791\uc740 \uc808\ub313\uac12\uc744 \uac00\uc9c4 \uc815\uc218\ub97c \ud799\uc5d0\uc11c \uc81c\uac70\ud558\uace0 \ubc18\ud658\ud569\ub2c8\ub2e4. \ub9cc\uc57d \uc808\ub313\uac12\uc774 \uac19\uc740 \uc218\uac00 \uc5ec\ub7ec \uac1c\uc77c \uacbd\uc6b0, \ub354 \uc791\uc740 \uac12\uc744 \ubc18\ud658\ud569\ub2c8\ub2e4. \ub9cc\uc57d \ud799\uc774 \ube44\uc5b4\uc788\ub2e4\uba74 0\uc744 \ubc18\ud658\ud569\ub2c8\ub2e4.<\/li>\n<\/ul>\n<h3>\uc785\ub825<\/h3>\n<p>\uccab \ubc88\uc9f8 \uc904\uc5d0 \uc5f0\uc0b0\uc758 \uac1c\uc218 <code>N<\/code>(1 \u2264 <code>N<\/code> \u2264 100,000)\uc774 \uc8fc\uc5b4\uc9d1\ub2c8\ub2e4. \ub2e4\uc74c <code>N<\/code>\uac1c\uc758 \uc904\uc5d0\ub294 \uc2e4\ud589\ud560 \uc5f0\uc0b0\uc774 \uc8fc\uc5b4\uc9d1\ub2c8\ub2e4. \uc5f0\uc0b0\uc740 \ub2e4\uc74c \ub450 \uac00\uc9c0\ub85c \ub098\ub269\ub2c8\ub2e4:<\/p>\n<ul>\n<li><code>\uc0bd\uc785<\/code>: <code>0<\/code> <code>x<\/code> (\u221210<sup>9<\/sup> \u2264 <code>x<\/code> \u2264 10<sup>9<\/sup>) \ud615\ud0dc\ub85c \uc8fc\uc5b4\uc9c0\uba70, \uc808\ub313\uac12 \ud799\uc5d0 <code>x<\/code>\ub97c \uc0bd\uc785\ud569\ub2c8\ub2e4.<\/li>\n<li><code>\uc0ad\uc81c<\/code>: <code>0<\/code> \ud615\ud0dc\ub85c \uc8fc\uc5b4\uc9c0\uba70, \uc808\ub313\uac12 \ud799\uc5d0\uc11c \uac00\uc7a5 \uc791\uc740 \uc808\ub313\uac12\uc744 \uac00\uc9c4 \uc815\uc218\ub97c \uc81c\uac70\ud558\uace0 \ubc18\ud658\ud569\ub2c8\ub2e4.<\/li>\n<\/ul>\n<h3>\ucd9c\ub825<\/h3>\n<p>\uc0ad\uc81c \uc5f0\uc0b0\uc758 \uacb0\uacfc\ub97c \ud55c \uc904\uc5d0 \ud558\ub098\uc529 \ucd9c\ub825\ud569\ub2c8\ub2e4.<\/p>\n<h2>\uc608\uc81c \uc785\ub825<\/h2>\n<pre>\n10\n1\n-1\n0\n1\n0\n-1\n0\n0\n0\n0\n<\/pre>\n<h2>\uc608\uc81c \ucd9c\ub825<\/h2>\n<pre>\n-1\n1\n0\n0\n0\n<\/pre>\n<h2>\ubb38\uc81c \uc811\uadfc<\/h2>\n<p>\uc774 \ubb38\uc81c\ub97c \ud574\uacb0\ud558\uae30 \uc704\ud574 \uc6b0\uc120\uc21c\uc704 \ud050\ub97c \uc0ac\uc6a9\ud560 \uac83\uc785\ub2c8\ub2e4. C++ \ud45c\uc900 \ub77c\uc774\ube0c\ub7ec\ub9ac\uc5d0\uc11c\ub294 <code>std::priority_queue<\/code>\ub97c \uc81c\uacf5\ud558\ub294\ub370, \uae30\ubcf8\uc801\uc73c\ub85c \ucd5c\ub300 \ud799\uc73c\ub85c \uc791\ub3d9\ud569\ub2c8\ub2e4. \ud558\uc9c0\ub9cc \uc6b0\ub9ac\ub294 \uc808\ub313\uac12\uc744 \uae30\uc900\uc73c\ub85c \ucd5c\uc18c \ud799\uc744 \ub9cc\ub4e4\uc5b4\uc57c \ud569\ub2c8\ub2e4. \ub530\ub77c\uc11c <code>std::priority_queue<\/code>\ub97c \ucee4\uc2a4\ud130\ub9c8\uc774\uc9d5\ud558\uc5ec \uc774\ub97c \uad6c\ud604\ud560 \uac83\uc785\ub2c8\ub2e4.<\/p>\n<h3>\ud799 \uad6c\ud604<\/h3>\n<p>\uc808\ub313\uac12 \ud799\uc744 \uad6c\ud604\ud558\uae30 \uc704\ud574 \ub2e4\uc74c\uacfc \uac19\uc740 \ube44\uad50 \ud568\uc218\ub97c \uc815\uc758\ud560 \uac83\uc785\ub2c8\ub2e4:<\/p>\n<pre>\nstruct Compare {\n    bool operator()(int a, int b) {\n        if (abs(a) == abs(b)) {\n            return a &gt; b; \/\/ \uc808\ub313\uac12\uc774 \uac19\uc73c\uba74 \ub354 \uc791\uc740 \uac12\uc744 \uc120\ud0dd\n        }\n        return abs(a) &gt; abs(b); \/\/ \uc808\ub313\uac12 \uae30\uc900\uc73c\ub85c \uc120\ud0dd\n    }\n};\n<\/pre>\n<p>\uc704\uc640 \uac19\uc740 \ube44\uad50 \ud568\uc218\ub97c \uae30\uc900\uc73c\ub85c \uc6b0\uc120\uc21c\uc704 \ud050\ub97c \uc815\uc758\ud558\uace0, \uc0bd\uc785 \uc5f0\uc0b0 \ubc0f \uc0ad\uc81c \uc5f0\uc0b0\uc744 \uc218\ud589\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<h2>C++ \ucf54\ub4dc \uad6c\ud604<\/h2>\n<pre>\n#include <iostream>\n#include <queue>\n#include <vector>\n#include <cmath>\n\nusing namespace std;\n\n\/\/ \ube44\uad50 \uc5f0\uc0b0\uc790 \uc815\uc758\nstruct Compare {\n    bool operator()(int a, int b) {\n        if (abs(a) == abs(b)) {\n            return a &gt; b; \/\/ \uc808\ub313\uac12\uc774 \uac19\uc73c\uba74 \ub354 \uc791\uc740 \uac12\uc744 \uc120\ud0dd\n        }\n        return abs(a) &gt; abs(b); \/\/ \uc808\ub313\uac12\uc744 \uae30\uc900\uc73c\ub85c \uc120\ud0dd\n    }\n};\n\nint main() {\n    int N;\n    cin &gt;&gt; N;\n\n    priority_queue<int, vector<int=\"\">, Compare&gt; pq; \/\/ \ucee4\uc2a4\ud130\ub9c8\uc774\uc9d5\ub41c \uc6b0\uc120\uc21c\uc704 \ud050\n    \n    for (int i = 0; i &lt; N; i++) {\n        int x;\n        cin &gt;&gt; x;\n        if (x == 0) {\n            \/\/ \uc0ad\uc81c \uc5f0\uc0b0\n            if (pq.empty()) {\n                cout &lt;&lt; 0 &lt;&lt; endl; \/\/ \ube44\uc5b4\uc788\uc744 \uacbd\uc6b0 0 \ucd9c\ub825\n            } else {\n                cout &lt;&lt; pq.top() &lt;&lt; endl; \/\/ \uc808\ub313\uac12 \ud799\uc5d0\uc11c \uac00\uc7a5 \uc791\uc740 \uac12\uc744 \ucd9c\ub825\n                pq.pop(); \/\/ \ud799\uc5d0\uc11c \uc0ad\uc81c\n            }\n        } else {\n            \/\/ \uc0bd\uc785 \uc5f0\uc0b0\n            pq.push(x); \/\/ \ud799\uc5d0 \uac12 \ucd94\uac00\n        }\n    }\n\n    return 0;\n}\n<\/int,><\/cmath><\/vector><\/queue><\/iostream><\/pre>\n<h2>\ucf54\ub4dc \uc124\uba85<\/h2>\n<p>\uc704 C++ \ucf54\ub4dc\ub294 \uc808\ub313\uac12 \ud799\uc744 \uad6c\ud604\ud569\ub2c8\ub2e4:<\/p>\n<ul>\n<li><code>priority_queue<\/code>\uc5d0\uc11c <code>Compare<\/code> \uad6c\uc870\uccb4\ub97c \uc0ac\uc6a9\ud558\uc5ec \uc6b0\uc120\uc21c\uc704\ub97c \uc124\uc815\ud558\uace0 \uc788\uc2b5\ub2c8\ub2e4.<\/li>\n<li><code>main<\/code> \ud568\uc218 \ub0b4\uc5d0\uc11c \uc785\ub825\uc744 \uc77d\uace0, <code>0<\/code> \uc785\ub825 \uc2dc\uc5d0\ub294 \ud799\uc5d0\uc11c \ub370\uc774\ud130\ub97c \uc0ad\uc81c\ud558\uace0 \ucd9c\ub825\ud558\uba70, \ub2e4\ub978 \uc22b\uc790\ub294 \ud799\uc5d0 \uc0bd\uc785\ud569\ub2c8\ub2e4.<\/li>\n<\/ul>\n<h2>\uc2dc\uac04 \ubcf5\uc7a1\ub3c4 \ubd84\uc11d<\/h2>\n<p>\uc774 \uc54c\uace0\ub9ac\uc998\uc758 \uc2dc\uac04 \ubcf5\uc7a1\ub3c4\ub294 \ub2e4\uc74c\uacfc \uac19\uc2b5\ub2c8\ub2e4:<\/p>\n<ul>\n<li>\uc0bd\uc785 \uc5f0\uc0b0: O(log N)<\/li>\n<li>\uc0ad\uc81c \uc5f0\uc0b0: O(log N)<\/li>\n<\/ul>\n<p>\ub530\ub77c\uc11c \ucd1d <code>N<\/code>\uac1c\uc758 \uc5f0\uc0b0\uc744 \uc218\ud589\ud560 \uacbd\uc6b0, \uc804\uccb4 \uc2dc\uac04 \ubcf5\uc7a1\ub3c4\ub294 O(N log N)\uc785\ub2c8\ub2e4.<\/p>\n<h3>\uacb0\ub860<\/h3>\n<p>\uc774\ubc88 \uac15\uc88c\uc5d0\uc11c\ub294 C++\ub85c \uc808\ub313\uac12 \ud799\uc744 \uad6c\ud604\ud558\ub294 \ubc29\ubc95\uc744 \ubc30\uc6b0\uace0, \uc6b0\uc120\uc21c\uc704 \ud050\ub97c \ud65c\uc6a9\ud558\uc5ec \ud6a8\uc728\uc801\uc73c\ub85c \ub370\uc774\ud130\ub97c \uad00\ub9ac\ud558\ub294 \ubc29\ubc95\uc744 \uc54c\uc544\ubcf4\uc558\uc2b5\ub2c8\ub2e4. \uc774 \ubb38\uc81c\ub294 \ucf54\ub529 \ud14c\uc2a4\ud2b8\uc5d0\uc11c \uc911\uc694\ud55c \uac1c\ub150 \uc911 \ud558\ub098\uc774\ubbc0\ub85c, \uc5f0\uc2b5\uc744 \ud1b5\ud574 \uc774\ud574\ub97c \uae4a\uc774 \uc788\ub294 \uac83\uc73c\ub85c \ubc1c\uc804\uc2dc\ud0a4\uae30\ub97c \ubc14\ub78d\ub2c8\ub2e4.<\/p>\n<p><\/body><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\uc774\ubc88 \uac15\uc88c\uc5d0\uc11c\ub294 \uc808\ub313\uac12 \ud799\uc744 \uad6c\ud604\ud558\ub294 \uc54c\uace0\ub9ac\uc998 \ubb38\uc81c\ub97c \ub2e4\ub8e8\uace0\uc790 \ud569\ub2c8\ub2e4. \uc774 \ubb38\uc81c\ub294 C++ \ud504\ub85c\uadf8\ub798\ubc0d\uc5d0\uc11c \uc790\uc8fc \ucd9c\uc81c\ub418\ub294 \uc720\ud615 \uc911 \ud558\ub098\ub85c, \uc6b0\uc120\uc21c\uc704 \ud050(Priority Queue)\ub97c \uc0ac\uc6a9\ud558\uc5ec \ud574\uacb0\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc808\ub313\uac12 \ud799\uc740 \ud2b9\uc815 \uc22b\uc790\uc758 \uc808\ub313\uac12\uc744 \uae30\uc900\uc73c\ub85c \uc815\ub82c\ud558\ub294 \uc790\ub8cc\uad6c\uc870\uc785\ub2c8\ub2e4. \ubb38\uc81c \uc124\uba85 \uc808\ub313\uac12 \ud799\uc740 \ub2e4\uc74c\uacfc \uac19\uc740 \uc5f0\uc0b0\uc744 \uc9c0\uc6d0\ud569\ub2c8\ub2e4: \uc815\uc218 x\ub97c \ud799\uc5d0 \uc0bd\uc785\ud569\ub2c8\ub2e4. \uac00\uc7a5 \uc791\uc740 \uc808\ub313\uac12\uc744 \uac00\uc9c4 \uc815\uc218\ub97c \ud799\uc5d0\uc11c \uc81c\uac70\ud558\uace0 \ubc18\ud658\ud569\ub2c8\ub2e4. \ub9cc\uc57d \uc808\ub313\uac12\uc774 &hellip; <a href=\"https:\/\/atmokpo.com\/w\/27720\/\" class=\"more-link\">\ub354 \ubcf4\uae30<span class=\"screen-reader-text\"> &#8220;C++ \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uc808\ub313\uac12 \ud799 \uad6c\ud604\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-27720","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, \uc808\ub313\uac12 \ud799 \uad6c\ud604\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\/27720\/\" \/>\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, \uc808\ub313\uac12 \ud799 \uad6c\ud604\ud558\uae30 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"og:description\" content=\"\uc774\ubc88 \uac15\uc88c\uc5d0\uc11c\ub294 \uc808\ub313\uac12 \ud799\uc744 \uad6c\ud604\ud558\ub294 \uc54c\uace0\ub9ac\uc998 \ubb38\uc81c\ub97c \ub2e4\ub8e8\uace0\uc790 \ud569\ub2c8\ub2e4. \uc774 \ubb38\uc81c\ub294 C++ \ud504\ub85c\uadf8\ub798\ubc0d\uc5d0\uc11c \uc790\uc8fc \ucd9c\uc81c\ub418\ub294 \uc720\ud615 \uc911 \ud558\ub098\ub85c, \uc6b0\uc120\uc21c\uc704 \ud050(Priority Queue)\ub97c \uc0ac\uc6a9\ud558\uc5ec \ud574\uacb0\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc808\ub313\uac12 \ud799\uc740 \ud2b9\uc815 \uc22b\uc790\uc758 \uc808\ub313\uac12\uc744 \uae30\uc900\uc73c\ub85c \uc815\ub82c\ud558\ub294 \uc790\ub8cc\uad6c\uc870\uc785\ub2c8\ub2e4. \ubb38\uc81c \uc124\uba85 \uc808\ub313\uac12 \ud799\uc740 \ub2e4\uc74c\uacfc \uac19\uc740 \uc5f0\uc0b0\uc744 \uc9c0\uc6d0\ud569\ub2c8\ub2e4: \uc815\uc218 x\ub97c \ud799\uc5d0 \uc0bd\uc785\ud569\ub2c8\ub2e4. \uac00\uc7a5 \uc791\uc740 \uc808\ub313\uac12\uc744 \uac00\uc9c4 \uc815\uc218\ub97c \ud799\uc5d0\uc11c \uc81c\uac70\ud558\uace0 \ubc18\ud658\ud569\ub2c8\ub2e4. \ub9cc\uc57d \uc808\ub313\uac12\uc774 &hellip; \ub354 \ubcf4\uae30 &quot;C++ \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uc808\ub313\uac12 \ud799 \uad6c\ud604\ud558\uae30&quot;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/atmokpo.com\/w\/27720\/\" \/>\n<meta property=\"og:site_name\" content=\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"article:published_time\" content=\"2024-10-27T14:43:22+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-11-26T07:15:51+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\/27720\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/27720\/\"},\"author\":{\"name\":\"root\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7\"},\"headline\":\"C++ \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uc808\ub313\uac12 \ud799 \uad6c\ud604\ud558\uae30\",\"datePublished\":\"2024-10-27T14:43:22+00:00\",\"dateModified\":\"2024-11-26T07:15:51+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/atmokpo.com\/w\/27720\/\"},\"wordCount\":19,\"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\/27720\/\",\"url\":\"https:\/\/atmokpo.com\/w\/27720\/\",\"name\":\"C++ \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uc808\ub313\uac12 \ud799 \uad6c\ud604\ud558\uae30 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#website\"},\"datePublished\":\"2024-10-27T14:43:22+00:00\",\"dateModified\":\"2024-11-26T07:15:51+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/atmokpo.com\/w\/27720\/#breadcrumb\"},\"inLanguage\":\"ko-KR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/atmokpo.com\/w\/27720\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/atmokpo.com\/w\/27720\/#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, \uc808\ub313\uac12 \ud799 \uad6c\ud604\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, \uc808\ub313\uac12 \ud799 \uad6c\ud604\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\/27720\/","og_locale":"ko_KR","og_type":"article","og_title":"C++ \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uc808\ub313\uac12 \ud799 \uad6c\ud604\ud558\uae30 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","og_description":"\uc774\ubc88 \uac15\uc88c\uc5d0\uc11c\ub294 \uc808\ub313\uac12 \ud799\uc744 \uad6c\ud604\ud558\ub294 \uc54c\uace0\ub9ac\uc998 \ubb38\uc81c\ub97c \ub2e4\ub8e8\uace0\uc790 \ud569\ub2c8\ub2e4. \uc774 \ubb38\uc81c\ub294 C++ \ud504\ub85c\uadf8\ub798\ubc0d\uc5d0\uc11c \uc790\uc8fc \ucd9c\uc81c\ub418\ub294 \uc720\ud615 \uc911 \ud558\ub098\ub85c, \uc6b0\uc120\uc21c\uc704 \ud050(Priority Queue)\ub97c \uc0ac\uc6a9\ud558\uc5ec \ud574\uacb0\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc808\ub313\uac12 \ud799\uc740 \ud2b9\uc815 \uc22b\uc790\uc758 \uc808\ub313\uac12\uc744 \uae30\uc900\uc73c\ub85c \uc815\ub82c\ud558\ub294 \uc790\ub8cc\uad6c\uc870\uc785\ub2c8\ub2e4. \ubb38\uc81c \uc124\uba85 \uc808\ub313\uac12 \ud799\uc740 \ub2e4\uc74c\uacfc \uac19\uc740 \uc5f0\uc0b0\uc744 \uc9c0\uc6d0\ud569\ub2c8\ub2e4: \uc815\uc218 x\ub97c \ud799\uc5d0 \uc0bd\uc785\ud569\ub2c8\ub2e4. \uac00\uc7a5 \uc791\uc740 \uc808\ub313\uac12\uc744 \uac00\uc9c4 \uc815\uc218\ub97c \ud799\uc5d0\uc11c \uc81c\uac70\ud558\uace0 \ubc18\ud658\ud569\ub2c8\ub2e4. \ub9cc\uc57d \uc808\ub313\uac12\uc774 &hellip; \ub354 \ubcf4\uae30 \"C++ \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uc808\ub313\uac12 \ud799 \uad6c\ud604\ud558\uae30\"","og_url":"https:\/\/atmokpo.com\/w\/27720\/","og_site_name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","article_published_time":"2024-10-27T14:43:22+00:00","article_modified_time":"2024-11-26T07:15:51+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\/27720\/#article","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/27720\/"},"author":{"name":"root","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7"},"headline":"C++ \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uc808\ub313\uac12 \ud799 \uad6c\ud604\ud558\uae30","datePublished":"2024-10-27T14:43:22+00:00","dateModified":"2024-11-26T07:15:51+00:00","mainEntityOfPage":{"@id":"https:\/\/atmokpo.com\/w\/27720\/"},"wordCount":19,"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\/27720\/","url":"https:\/\/atmokpo.com\/w\/27720\/","name":"C++ \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uc808\ub313\uac12 \ud799 \uad6c\ud604\ud558\uae30 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/#website"},"datePublished":"2024-10-27T14:43:22+00:00","dateModified":"2024-11-26T07:15:51+00:00","breadcrumb":{"@id":"https:\/\/atmokpo.com\/w\/27720\/#breadcrumb"},"inLanguage":"ko-KR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/atmokpo.com\/w\/27720\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/atmokpo.com\/w\/27720\/#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, \uc808\ub313\uac12 \ud799 \uad6c\ud604\ud558\uae30"}]},{"@type":"WebSite","@id":"https:\/\/atmokpo.com\/w\/#website","url":"https:\/\/atmokpo.com\/w\/","name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","description":"","publisher":{"@id":"https:\/\/atmokpo.com\/w\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/atmokpo.com\/w\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ko-KR"},{"@type":"Organization","@id":"https:\/\/atmokpo.com\/w\/#organization","name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","url":"https:\/\/atmokpo.com\/w\/","logo":{"@type":"ImageObject","inLanguage":"ko-KR","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/","url":"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png","contentUrl":"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png","width":400,"height":400,"caption":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8"},"image":{"@id":"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/x.com\/bebubo4"]},{"@type":"Person","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7","name":"root","image":{"@type":"ImageObject","inLanguage":"ko-KR","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g","caption":"root"},"sameAs":["http:\/\/atmokpo.com\/w"],"url":"https:\/\/atmokpo.com\/w\/author\/root\/"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":27833,"url":"https:\/\/atmokpo.com\/w\/27833\/","url_meta":{"origin":27720,"position":0},"title":"\uc790\ubc14\uc2a4\ud06c\ub9bd\ud2b8 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ud589\ub82c \uacf1 \uc5f0\uc0b0 \ud69f\uc218\uc758 \ucd5c\uc19f\uac12 \uad6c\ud558\uae30","author":"root","date":"2024\ub144 10\uc6d4 27\uc77c","format":false,"excerpt":"\uc791\uc131\uc790: \uc870\uad11\ud615 | \ub0a0\uc9dc: 2024\ub144 11\uc6d4 26\uc77c \ubb38\uc81c \uc124\uba85 \uc8fc\uc5b4\uc9c4 N\uac1c\uc758 \ud589\ub82c\uc5d0 \ub300\ud574, \uc774 \ud589\ub82c\ub4e4\uc744 \uacf1\ud560 \ub54c \ud544\uc694\ud55c \uc5f0\uc0b0 \ud69f\uc218\uc758 \ucd5c\uc19f\uac12\uc744 \uad6c\ud558\ub294 \ubb38\uc81c\uc785\ub2c8\ub2e4. \ud589\ub82c \uacf1\uc148\uc758 \uc5f0\uc0b0 \ud69f\uc218\ub294 \uacf1\uc148\uc758 \uc21c\uc11c\uc5d0 \ub530\ub77c \ud06c\uac8c \ub2ec\ub77c\uc9c0\uba70, \ub530\ub77c\uc11c \uc62c\ubc14\ub978 \uc21c\uc11c\ub97c \ucc3e\uc544\uc57c \ud569\ub2c8\ub2e4. \ud589\ub82c A\uc758 \ud06c\uae30\uac00 p \u00d7 q, \ud589\ub82c B\uc758 \ud06c\uae30\uac00 q \u00d7 r\uc77c \ub54c,\u2026","rel":"","context":"&quot;\uc790\ubc14\uc2a4\ud06c\ub9bd\ud2b8 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c&quot;\uc5d0\uc11c","block_context":{"text":"\uc790\ubc14\uc2a4\ud06c\ub9bd\ud2b8 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c","link":"https:\/\/atmokpo.com\/w\/category\/%ec%9e%90%eb%b0%94%ec%8a%a4%ed%81%ac%eb%a6%bd%ed%8a%b8-%ec%bd%94%eb%94%a9%ed%85%8c%ec%8a%a4%ed%8a%b8-%ea%b0%95%ec%a2%8c\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":27238,"url":"https:\/\/atmokpo.com\/w\/27238\/","url_meta":{"origin":27720,"position":1},"title":"\ud30c\uc774\uc36c \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ud589\ub82c \uacf1 \uc5f0\uc0b0 \ud69f\uc218\uc758 \ucd5c\uc19f\uac12 \uad6c\ud558\uae30","author":"root","date":"2024\ub144 10\uc6d4 27\uc77c","format":false,"excerpt":"\uc791\uc131\uc790: \uc870\uad11\ud615 \uc791\uc131\uc77c: 2024\ub144 11\uc6d4 26\uc77c \ubb38\uc81c \uc124\uba85 \ucf54\ub529 \ud14c\uc2a4\ud2b8\uc5d0\uc11c \ud589\ub82c\uc758 \uacf1\uc148\uc740 \ube48\ubc88\ud558\uac8c \ub4f1\uc7a5\ud558\ub294 \ubb38\uc81c \uc911 \ud558\ub098\uc785\ub2c8\ub2e4. \ud2b9\ud788, \uc8fc\uc5b4\uc9c4 \ud589\ub82c\ub4e4\uc744 \ud6a8\uc728\uc801\uc73c\ub85c \uacf1\ud558\ub294 \ubc29\ubc95\uc744 \ubb3b\ub294 \ubb38\uc81c\ub294 \ucd5c\uc801\uc758 \uc54c\uace0\ub9ac\uc998 \uc124\uacc4\ub97c \ud1b5\ud574 \uc5f0\uc0b0 \ud69f\uc218\ub97c \ucd5c\uc18c\ud654\ud560 \uc218 \uc788\ub294 \uadc0\uc911\ud55c \uae30\uc220\uc744 \ud544\uc694\ub85c \ud569\ub2c8\ub2e4. \uc774\ubc88 \uac15\uc88c\uc5d0\uc11c\ub294 \uc8fc\uc5b4\uc9c4 \ud589\ub82c\uc758 \uacf1 \uc5f0\uc0b0\uc758 \ucd5c\uc19f\uac12\uc744 \uad6c\ud558\ub294 \ubb38\uc81c\ub97c \ub2e4\ub8e8\uaca0\uc2b5\ub2c8\ub2e4. \ubb38\uc81c\ub294 \ub2e4\uc74c\uacfc\u2026","rel":"","context":"&quot;\ud30c\uc774\uc36c \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c&quot;\uc5d0\uc11c","block_context":{"text":"\ud30c\uc774\uc36c \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c","link":"https:\/\/atmokpo.com\/w\/category\/%ed%8c%8c%ec%9d%b4%ec%8d%ac-%ec%bd%94%eb%94%a9%ed%85%8c%ec%8a%a4%ed%8a%b8-%ea%b0%95%ec%a2%8c\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":27478,"url":"https:\/\/atmokpo.com\/w\/27478\/","url_meta":{"origin":27720,"position":2},"title":"C# \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uc784\uacc4 \uacbd\ub85c \uad6c\ud558\uae30","author":"root","date":"2024\ub144 10\uc6d4 27\uc77c","format":false,"excerpt":"\ubb38\uc81c \uc124\uba85 \uc8fc\uc5b4\uc9c4 \ubc29\ud5a5 \uadf8\ub798\ud504\uc5d0\uc11c \uc784\uacc4 \uacbd\ub85c\ub97c \uad6c\ud558\ub294 \ubb38\uc81c\uc785\ub2c8\ub2e4. \uc784\uacc4 \uacbd\ub85c\ub294 \uadf8\ub798\ud504 \ub0b4\uc758 \ub178\ub4dc\uc640 \uc5e3\uc9c0\ub85c \ud45c\ud604\ub418\uba70, \uac00\uc7a5 \uae34 \uacbd\ub85c\ub97c \ud574\uacb0\ud558\ub294 \ubb38\uc81c\uc785\ub2c8\ub2e4. \uc8fc\uc5b4\uc9c4 \uadf8\ub798\ud504\ub294 \ub178\ub4dc\uc758 \uac1c\uc218 n\uacfc \uc5e3\uc9c0\uc758 \uac1c\uc218 m\uc73c\ub85c \uad6c\uc131\ub418\uc5b4 \uc788\uc2b5\ub2c8\ub2e4. \uc785\ub825 \ud615\uc2dd \uccab \ubc88\uc9f8 \uc904\uc5d0 \uc815\uc218 n\uacfc m\uc774 \uc8fc\uc5b4\uc9c4\ub2e4. \ub2e4\uc74c m\uc904\uc5d0 \uac01\uac01 \ud55c \uc30d\uc758 \uc815\uc218 u\uc640 v\uac00 \uc8fc\uc5b4\uc9c4\ub2e4. \uc774\ub294\u2026","rel":"","context":"&quot;C# \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c&quot;\uc5d0\uc11c","block_context":{"text":"C# \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c","link":"https:\/\/atmokpo.com\/w\/category\/c-%ec%bd%94%eb%94%a9%ed%85%8c%ec%8a%a4%ed%8a%b8-%ea%b0%95%ec%a2%8c\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":27651,"url":"https:\/\/atmokpo.com\/w\/27651\/","url_meta":{"origin":27720,"position":3},"title":"C++ \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uc18c\uc218 &#038; \ud330\ub9b0\ub4dc\ub86c \uc218 \uc911\uc5d0\uc11c \ucd5c\uc19f\uac12 \ucc3e\uae30","author":"root","date":"2024\ub144 10\uc6d4 27\uc77c","format":false,"excerpt":"\uc624\ub298\uc740 \ucde8\uc5c5 \uc900\ube44\uc0dd\ub4e4\uc5d0\uac8c \uc790\uc8fc \ucd9c\uc81c\ub418\ub294 \uc54c\uace0\ub9ac\uc998 \ubb38\uc81c \uc911 \ud558\ub098\uc778 '\uc18c\uc218 \ubc0f \ud330\ub9b0\ub4dc\ub86c \uc218 \uc911\uc5d0\uc11c \ucd5c\uc19f\uac12 \ucc3e\uae30'\uc5d0 \ub300\ud574 \uae4a\uac8c \uc54c\uc544\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. \uc774 \ubb38\uc81c\ub97c \ud1b5\ud574 \uc6b0\ub9ac\ub294 \uc18c\uc218\uc640 \ud330\ub9b0\ub4dc\ub86c\uc758 \uac1c\ub150\uc744 \ubcf5\uc2b5\ud558\uace0, C++\uc744 \ud1b5\ud574 \uc54c\uace0\ub9ac\uc998\uc744 \uad6c\ud604\ud574\ubcf4\ub294 \uc2dc\uac04\uc744 \uac00\uc9c0\uaca0\uc2b5\ub2c8\ub2e4. \ubb38\uc81c \uc124\uba85 \uc8fc\uc5b4\uc9c4 \uc815\uc218 N\uc774 \uc788\uc2b5\ub2c8\ub2e4. \uc774\ub54c N\ubcf4\ub2e4 \ud06c\uac70\ub098 \uac19\uace0, N\ubcf4\ub2e4 \uc791\uac70\ub098 \uac19\uc740 \ubc94\uc704 \ub0b4\uc5d0\uc11c \uc18c\uc218\uc774\uba74\uc11c \ud330\ub9b0\ub4dc\ub86c\uc778\u2026","rel":"","context":"&quot;C++ \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c&quot;\uc5d0\uc11c","block_context":{"text":"C++ \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c","link":"https:\/\/atmokpo.com\/w\/category\/c-%ec%bd%94%eb%94%a9%ed%85%8c%ec%8a%a4%ed%8a%b8-%ea%b0%95%ec%a2%8c-2\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":28308,"url":"https:\/\/atmokpo.com\/w\/28308\/","url_meta":{"origin":27720,"position":4},"title":"\uc2a4\uc704\ud504\ud2b8 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ucd5c\uc19f\uac12 \ucc3e\uae30 1","author":"root","date":"2024\ub144 10\uc6d4 27\uc77c","format":false,"excerpt":"\uc791\uc131\uc790: \uc870\uad11\ud615 \uc791\uc131\uc77c: 2024\ub144 11\uc6d4 26\uc77c 1. \ubb38\uc81c \uc124\uba85 \uc8fc\uc5b4\uc9c4 \uc815\uc218 \ubc30\uc5f4\uc5d0\uc11c \ucd5c\uc19f\uac12\uc744 \ucc3e\ub294 \ubb38\uc81c\uc785\ub2c8\ub2e4. \ubc30\uc5f4\uc5d0\ub294 \uc911\ubcf5\ub41c \uac12\uc774 \uc788\uc744 \uc218 \uc788\uc73c\uba70, \ubc30\uc5f4\uc758 \uae38\uc774\ub294 1 \uc774\uc0c1 100,000 \uc774\ud558\uc785\ub2c8\ub2e4. \ud568\uc218\ub294 \ucd5c\uc19f\uac12\uc744 \ubc18\ud658\ud574\uc57c \ud569\ub2c8\ub2e4. \ub9cc\uc57d \ubc30\uc5f4\uc774 \ube44\uc5b4 \uc788\ub294 \uacbd\uc6b0 nil\uc744 \ubc18\ud658\ud574\uc57c \ud569\ub2c8\ub2e4. \ud568\uc218 \uc2dc\uadf8\ub2c8\ucc98: func findMinimum(in array: [Int]) -> Int? 2. \uc785\ub825 \uc608\uc2dc\u2026","rel":"","context":"&quot;\uc2a4\uc704\ud504\ud2b8 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c&quot;\uc5d0\uc11c","block_context":{"text":"\uc2a4\uc704\ud504\ud2b8 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c","link":"https:\/\/atmokpo.com\/w\/category\/%ec%8a%a4%ec%9c%84%ed%94%84%ed%8a%b8-%ec%bd%94%eb%94%a9%ed%85%8c%ec%8a%a4%ed%8a%b8-%ea%b0%95%ec%a2%8c\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":26870,"url":"https:\/\/atmokpo.com\/w\/26870\/","url_meta":{"origin":27720,"position":5},"title":"\uc790\ubc14 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uc774\uc9c4 \ud0d0\uc0c9","author":"root","date":"2024\ub144 10\uc6d4 27\uc77c","format":false,"excerpt":"\uc791\uc131\uc790: \uc870\uad11\ud615 \uc791\uc131\uc77c: 2024\ub144 11\uc6d4 26\uc77c 1. \uc774\uc9c4 \ud0d0\uc0c9 \uc54c\uace0\ub9ac\uc998 \uc18c\uac1c \uc774\uc9c4 \ud0d0\uc0c9(Binary Search)\uc740 \uc815\ub82c\ub41c \ubc30\uc5f4\uc5d0\uc11c \ud2b9\uc815 \uac12\uc744 \ucc3e\uae30 \uc704\ud574 \uc0ac\uc6a9\ud558\ub294 \uc54c\uace0\ub9ac\uc998\uc785\ub2c8\ub2e4. \ubc30\uc5f4\uc758 \uc911\uac04\uac12\uc744 \ube44\uad50\ud558\uc5ec \uc6d0\ud558\ub294 \uac12\uc774 \uc911\uac04\uac12\ubcf4\ub2e4 \uc791\uc73c\uba74 \uc67c\ucabd \ubd80\ubd84\uc5d0\uc11c, \ud06c\uba74 \uc624\ub978\ucabd \ubd80\ubd84\uc5d0\uc11c \uac12\uc744 \ucc3e\ub294 \ubc29\uc2dd\uc73c\ub85c \uad6c\ud604\ub429\ub2c8\ub2e4. \uc774\uc9c4 \ud0d0\uc0c9\uc740 \uc2dc\uac04 \ubcf5\uc7a1\ub3c4\uac00 O(log n)\uc73c\ub85c \ub9e4\uc6b0 \ud6a8\uc728\uc801\uc785\ub2c8\ub2e4. \uc774\uc9c4 \ud0d0\uc0c9\uc744 \uc0ac\uc6a9\ud558\uae30 \uc704\ud574\uc11c\ub294\u2026","rel":"","context":"&quot;\uc790\ubc14 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c&quot;\uc5d0\uc11c","block_context":{"text":"\uc790\ubc14 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c","link":"https:\/\/atmokpo.com\/w\/category\/%ec%9e%90%eb%b0%94-%ec%bd%94%eb%94%a9%ed%85%8c%ec%8a%a4%ed%8a%b8-%ea%b0%95%ec%a2%8c\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/27720","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=27720"}],"version-history":[{"count":1,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/27720\/revisions"}],"predecessor-version":[{"id":27721,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/27720\/revisions\/27721"}],"wp:attachment":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/media?parent=27720"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/categories?post=27720"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/tags?post=27720"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}