{"id":27010,"date":"2024-10-27T13:42:53","date_gmt":"2024-10-27T13:42:53","guid":{"rendered":"http:\/\/atmokpo.com\/w\/?p=27010"},"modified":"2024-11-26T07:24:28","modified_gmt":"2024-11-26T07:24:28","slug":"%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-%ea%b5%ac%ea%b0%84-%ed%95%a9-%ea%b5%ac%ed%95%98%ea%b8%b0-3","status":"publish","type":"post","link":"https:\/\/atmokpo.com\/w\/27010\/","title":{"rendered":"\ud30c\uc774\uc36c \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uad6c\uac04 \ud569 \uad6c\ud558\uae30 3"},"content":{"rendered":"<p><body><\/p>\n<h2>\ubb38\uc81c \uc124\uba85<\/h2>\n<p>\n        \uc8fc\uc5b4\uc9c4 \uc815\uc218 \ubc30\uc5f4 A\uc640 \uc5ec\ub7ec \uc30d\uc758 \uc815\uc218 L, R\uc774 \uc8fc\uc5b4\uc84c\uc744 \ub54c, \uac01 \uc30d\uc5d0 \ub300\ud574 L\ubc88 \uc778\ub371\uc2a4\ubd80\ud130 R\ubc88 \uc778\ub371\uc2a4\uc758 \uad6c\uac04 \ud569\uc744 \uad6c\ud558\ub294 \ud504\ub85c\uadf8\ub7a8\uc744 \uc791\uc131\ud558\uc2dc\uc624.\n    <\/p>\n<p>\n        \uc608\ub97c \ub4e4\uc5b4, A = [1, 2, 3, 4, 5]\uc774\uace0 \uad6c\uac04 \uc30d\uc774 (1, 3), (0, 2), (2, 4)\ub77c\uace0 \ud558\uba74,<br \/>\n        \uacb0\uacfc\ub294 \uac01\uac01 9, 6, 12\uac00 \ub418\uc5b4\uc57c \ud569\ub2c8\ub2e4.\n    <\/p>\n<h2>\uc785\ub825 \ud615\uc2dd<\/h2>\n<pre>\n    - \uccab \uc904\uc5d0 \uc815\uc218 N (1 \u2264 N \u2264 100,000): \ubc30\uc5f4 A\uc758 \ud06c\uae30\n    - \ub458\uc9f8 \uc904\uc5d0\ub294 N\uac1c\uc758 \uc815\uc218 A[i] (1 \u2264 A[i] \u2264 10,000)\uac00 \uc8fc\uc5b4\uc9c4\ub2e4.\n    - \uc14b\uc9f8 \uc904\uc5d0 \uc815\uc218 M (1 \u2264 M \u2264 100,000): \uad6c\uac04 \uc30d\uc758 \uac1c\uc218\n    - \uc774\uc5b4\uc11c M\uc904\uc5d0 \uac78\uccd0 \uad6c\uac04 \uc30d L, R (0 \u2264 L &lt;= R &lt; N)\uac00 \uc8fc\uc5b4\uc9c4\ub2e4.\n    <\/pre>\n<h2>\ucd9c\ub825 \ud615\uc2dd<\/h2>\n<pre>\n    - \uac01 \uad6c\uac04\uc758 \ud569\uc744 M\uc904\uc5d0 \uac78\uccd0 \ucd9c\ub825\ud55c\ub2e4.\n    <\/pre>\n<h2>\ubb38\uc81c \ud574\uacb0 \uc804\ub7b5<\/h2>\n<p>\n        \uc774 \ubb38\uc81c\ub97c \ud574\uacb0\ud558\uae30 \uc704\ud574\uc11c\ub294 \ub2e8\uc21c\ud788 \ubc18\ubcf5\ubb38\uc744 \uc0ac\uc6a9\ud558\ub294 \uac83\ub3c4 \uac00\ub2a5\ud558\uc9c0\ub9cc,<br \/>\n        \ucd5c\uc545\uc758 \uacbd\uc6b0 N\uacfc M\uc774 \ucd5c\ub300 100,000\uc774\ubbc0\ub85c O(N * M)\uc758 \uc2dc\uac04 \ubcf5\uc7a1\ub3c4\ub97c \uac00\uc9c4 \uc5f0\uc0b0\uc740 \ubd88\uac00\ub2a5\ud558\ub2e4.<br \/>\n        \ub530\ub77c\uc11c O(N + M)\uc758 \uc2dc\uac04 \ubcf5\uc7a1\ub3c4\ub97c \uac00\uc9c0\ub294 \ubc29\ubc95\uc774 \ud544\uc694\ud558\ub2e4.\n    <\/p>\n<p>\n        \uc774\ub97c \uc704\ud574 <strong>\uc804\ucc98\ub9ac<\/strong> \uacfc\uc815\uc73c\ub85c <strong>\ub204\uc801 \ud569 \ubc30\uc5f4<\/strong>\uc744 \ub9cc\ub4e4\uc5b4 \uc8fc\uba74 \uc720\uc6a9\ud558\ub2e4.<br \/>\n        \ub204\uc801 \ud569 \ubc30\uc5f4\uc744 \uc774\uc6a9\ud558\uba74 \uac01 \uad6c\uac04\uc758 \ud569\uc744 \ube60\ub974\uac8c \uad6c\ud560 \uc218 \uc788\ub2e4.\n    <\/p>\n<h2>\ub204\uc801 \ud569 \ubc30\uc5f4 \uc124\uba85<\/h2>\n<p>\n        \uba3c\uc800 \ubc30\uc5f4 A\uc758 \ub204\uc801 \ud569\uc744 \uacc4\uc0b0\ud558\uc5ec prefix_sum \ubc30\uc5f4\uc744 \uc0dd\uc131\ud55c\ub2e4.<br \/>\n        prefix_sum[i]\ub294 A[0]\ubd80\ud130 A[i]\uae4c\uc9c0\uc758 \ud569\uc744 \uc800\uc7a5\ud55c\ub2e4.<br \/>\n        \uadf8\ub7ec\uba74 L\ubc88 \uc778\ub371\uc2a4\ubd80\ud130 R\ubc88 \uc778\ub371\uc2a4\uc758 \ud569\uc740 \ub2e4\uc74c\uacfc \uac19\uc774 \uacc4\uc0b0\ud560 \uc218 \uc788\ub2e4:<br \/>\n        <br \/>\n<strong>sum(L, R) = prefix_sum[R] &#8211; prefix_sum[L &#8211; 1]<\/strong>, L &gt; 0<br \/>\n        <br \/>\n<strong>sum(0, R) = prefix_sum[R]<\/strong>, L = 0\n    <\/p>\n<h2>\ucf54\ub4dc \uad6c\ud604<\/h2>\n<pre>\n    <code>\ndef compute_prefix_sum(A):\n    prefix_sum = [0] * len(A)\n    prefix_sum[0] = A[0]\n    for i in range(1, len(A)):\n        prefix_sum[i] = prefix_sum[i - 1] + A[i]\n    return prefix_sum\n\ndef range_sum(prefix_sum, L, R):\n    if L == 0:\n        return prefix_sum[R]\n    else:\n        return prefix_sum[R] - prefix_sum[L - 1]\n\ndef main():\n    N = int(input())\n    A = list(map(int, input().split()))\n    M = int(input())\n    \n    prefix_sum = compute_prefix_sum(A)\n\n    results = []\n    for _ in range(M):\n        L, R = map(int, input().split())\n        results.append(range_sum(prefix_sum, L, R))\n    \n    for result in results:\n        print(result)\n\nif __name__ == \"__main__\":\n    main()\n    <\/code>\n    <\/pre>\n<h2>\ucf54\ub4dc \uc124\uba85<\/h2>\n<p>\n        1. <strong>compute_prefix_sum<\/strong> \ud568\uc218\ub294 \uc785\ub825\ubc1b\uc740 \ubc30\uc5f4 A\uc758 \ub204\uc801 \ud569\uc744 \uacc4\uc0b0\ud558\uc5ec<br \/>\n        prefix_sum \ubc30\uc5f4\uc744 \ubc18\ud658\ud569\ub2c8\ub2e4. \ucd08\uae30\uac12\uc744 \uc124\uc815\ud558\uace0, \uac01 \uc778\ub371\uc2a4\uc758 \uac12\uc740 \uc774\uc804 \uac12\uacfc \ud604\uc7ac \uac12\uc744 \ub354\ud558\uc5ec \uacc4\uc0b0\ud569\ub2c8\ub2e4.\n    <\/p>\n<p>\n        2. <strong>range_sum<\/strong> \ud568\uc218\ub294 \uc8fc\uc5b4\uc9c4 L\uacfc R\uc5d0 \ub300\ud574 \ub204\uc801 \ud569 \ubc30\uc5f4\uc744 \uc0ac\uc6a9\ud558\uc5ec<br \/>\n        \uad6c\uac04\uc758 \ud569\uc744 \ube60\ub974\uac8c \uacc4\uc0b0\ud569\ub2c8\ub2e4. L\uc774 0\uc774\uba74 prefix_sum[R]\uc744 \ubc18\ud658\ud558\uace0, \uadf8\ub807\uc9c0 \uc54a\uc73c\uba74<br \/>\n        prefix_sum[R]\uc5d0\uc11c prefix_sum[L-1]\uc744 \ube7c\uc11c \uacb0\uacfc\ub97c \uacc4\uc0b0\ud569\ub2c8\ub2e4.\n    <\/p>\n<p>\n        3. <strong>main<\/strong> \ud568\uc218\uc5d0\uc11c\ub294 \uc785\ub825\uc744 \ucc98\ub9ac\ud558\uace0, \uac01 \uad6c\uac04 \uc30d\uc5d0 \ub300\ud574 range_sum \ud568\uc218\ub97c \ud638\ucd9c\ud558\uc5ec<br \/>\n        \uacb0\uacfc\ub97c \ucd9c\ub825\ud569\ub2c8\ub2e4.\n    <\/p>\n<h2>\uc2dc\uac04 \ubcf5\uc7a1\ub3c4 \ubd84\uc11d<\/h2>\n<p>\n        &#8211; \ub204\uc801 \ud569 \ubc30\uc5f4\uc744 \uacc4\uc0b0\ud558\ub294 \ub370 O(N)\uc758 \uc2dc\uac04\uc774 \uac78\ub9bd\ub2c8\ub2e4.\n    <\/p>\n<p>\n        &#8211; \uac01 M\uac1c\uc758 \ucffc\ub9ac\uc5d0 \ub300\ud574 O(1)\uc758 \uc2dc\uac04\uc774 \uc18c\uc694\ub429\ub2c8\ub2e4.<br \/>\n        \ub530\ub77c\uc11c \uc804\uccb4\uc801\uc73c\ub85c O(N + M)\uc758 \uc2dc\uac04 \ubcf5\uc7a1\ub3c4\ub97c \uac00\uc9d1\ub2c8\ub2e4.\n    <\/p>\n<h2>\uacb0\ub860<\/h2>\n<p>\n        \uc774\ubc88 \uac15\uc88c\uc5d0\uc11c\ub294 \uad6c\uac04 \ud569 \uad6c\ud558\uae30\uc5d0 \ub300\ud55c \ud6a8\uc728\uc801\uc778 \uc811\uadfc \ubc29\ubc95\uc744 \ub2e4\ub8e8\uc5c8\uc2b5\ub2c8\ub2e4.<br \/>\n        \ub204\uc801 \ud569\uc744 \ud65c\uc6a9\ud558\uba74 \uc2dc\uac04 \ubcf5\uc7a1\ub3c4\ub97c \uc904\uc77c \uc218 \uc788\uc5b4 \ud070 \uc785\ub825\uc5d0\ub3c4 \ube60\ub974\uac8c \ucc98\ub9ac\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<br \/>\n        \uc774\ub7ec\ud55c \uae30\ubc95\uc740 \ub2e4\uc591\ud55c \uc54c\uace0\ub9ac\uc998 \ubb38\uc81c\uc5d0\uc11c \uc720\uc6a9\ud558\ubbc0\ub85c \uaf2d \uc219\uc9c0\ud574\ub450\uc2dc\uae30 \ubc14\ub78d\ub2c8\ub2e4.\n    <\/p>\n<h2>\ucd94\uac00 \uc5f0\uc2b5 \ubb38\uc81c<\/h2>\n<ul>\n<li>1. \uc608\uc81c\uc758 \ubc30\uc5f4 A\ub97c \ubc14\uafd4\uac00\uba70 \uad6c\uac04 \ud569\uc744 \uad6c\ud574\ubcf4\uc2dc\uc624.<\/li>\n<li>2. \ub2e4\ub978 \uc54c\uace0\ub9ac\uc998 (\uc138\uadf8\uba3c\ud2b8 \ud2b8\ub9ac \ub610\ub294 \ud39c\uc705 \ud2b8\ub9ac)\uc744 \uc774\uc6a9\ud558\uc5ec \uad6c\uac04 \ud569\uc744 \uad6c\ud558\ub294 \ubc29\ubc95\uc744 \uc5f0\uad6c\ud574\ubcf4\uc2dc\uc624.<\/li>\n<li>3. \ubc30\uc5f4\uc758 \ud2b9\uc815 \uc778\ub371\uc2a4\uc758 \uac12\uc744 \uac31\uc2e0\ud558\uace0 \uc804\uccb4 \uad6c\uac04 \ud569\uc744 \ub2e4\uc2dc \uacc4\uc0b0\ud558\ub294 \ubb38\uc81c\ub97c \uc5f0\uc2b5\ud574\ubcf4\uc2dc\uc624.<\/li>\n<\/ul>\n<h2>\ucc38\uace0 \ubb38\ud5cc<\/h2>\n<p>\n        &#8211; \ud074\ub9ac\uce20 \uc54c\uace0\ub9ac\uc998 \ubb38\uc81c\uc9d1<br \/>\n        <br \/>\n        &#8211; \uc628\ub77c\uc778 \ucf54\ub529 \ud14c\uc2a4\ud2b8 \uad00\ub828 \uc790\ub8cc<br \/>\n        <br \/>\n        &#8211; LeetCode, HackerRank\uc758 \uad6c\uac04 \ud569 \ubb38\uc81c\n    <\/p>\n<p><\/body><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\ubb38\uc81c \uc124\uba85 \uc8fc\uc5b4\uc9c4 \uc815\uc218 \ubc30\uc5f4 A\uc640 \uc5ec\ub7ec \uc30d\uc758 \uc815\uc218 L, R\uc774 \uc8fc\uc5b4\uc84c\uc744 \ub54c, \uac01 \uc30d\uc5d0 \ub300\ud574 L\ubc88 \uc778\ub371\uc2a4\ubd80\ud130 R\ubc88 \uc778\ub371\uc2a4\uc758 \uad6c\uac04 \ud569\uc744 \uad6c\ud558\ub294 \ud504\ub85c\uadf8\ub7a8\uc744 \uc791\uc131\ud558\uc2dc\uc624. \uc608\ub97c \ub4e4\uc5b4, A = [1, 2, 3, 4, 5]\uc774\uace0 \uad6c\uac04 \uc30d\uc774 (1, 3), (0, 2), (2, 4)\ub77c\uace0 \ud558\uba74, \uacb0\uacfc\ub294 \uac01\uac01 9, 6, 12\uac00 \ub418\uc5b4\uc57c \ud569\ub2c8\ub2e4. \uc785\ub825 \ud615\uc2dd &#8211; \uccab \uc904\uc5d0 &hellip; <a href=\"https:\/\/atmokpo.com\/w\/27010\/\" class=\"more-link\">\ub354 \ubcf4\uae30<span class=\"screen-reader-text\"> &#8220;\ud30c\uc774\uc36c \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uad6c\uac04 \ud569 \uad6c\ud558\uae30 3&#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":[23],"tags":[],"class_list":["post-27010","post","type-post","status-publish","format-standard","hentry","category-23"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\ud30c\uc774\uc36c \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uad6c\uac04 \ud569 \uad6c\ud558\uae30 3 - \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\/27010\/\" \/>\n<meta property=\"og:locale\" content=\"ko_KR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\ud30c\uc774\uc36c \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uad6c\uac04 \ud569 \uad6c\ud558\uae30 3 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"og:description\" content=\"\ubb38\uc81c \uc124\uba85 \uc8fc\uc5b4\uc9c4 \uc815\uc218 \ubc30\uc5f4 A\uc640 \uc5ec\ub7ec \uc30d\uc758 \uc815\uc218 L, R\uc774 \uc8fc\uc5b4\uc84c\uc744 \ub54c, \uac01 \uc30d\uc5d0 \ub300\ud574 L\ubc88 \uc778\ub371\uc2a4\ubd80\ud130 R\ubc88 \uc778\ub371\uc2a4\uc758 \uad6c\uac04 \ud569\uc744 \uad6c\ud558\ub294 \ud504\ub85c\uadf8\ub7a8\uc744 \uc791\uc131\ud558\uc2dc\uc624. \uc608\ub97c \ub4e4\uc5b4, A = [1, 2, 3, 4, 5]\uc774\uace0 \uad6c\uac04 \uc30d\uc774 (1, 3), (0, 2), (2, 4)\ub77c\uace0 \ud558\uba74, \uacb0\uacfc\ub294 \uac01\uac01 9, 6, 12\uac00 \ub418\uc5b4\uc57c \ud569\ub2c8\ub2e4. \uc785\ub825 \ud615\uc2dd - \uccab \uc904\uc5d0 &hellip; \ub354 \ubcf4\uae30 &quot;\ud30c\uc774\uc36c \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uad6c\uac04 \ud569 \uad6c\ud558\uae30 3&quot;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/atmokpo.com\/w\/27010\/\" \/>\n<meta property=\"og:site_name\" content=\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"article:published_time\" content=\"2024-10-27T13:42:53+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-11-26T07:24:28+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\/27010\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/27010\/\"},\"author\":{\"name\":\"root\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7\"},\"headline\":\"\ud30c\uc774\uc36c \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uad6c\uac04 \ud569 \uad6c\ud558\uae30 3\",\"datePublished\":\"2024-10-27T13:42:53+00:00\",\"dateModified\":\"2024-11-26T07:24:28+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/atmokpo.com\/w\/27010\/\"},\"wordCount\":82,\"publisher\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\"},\"articleSection\":[\"\ud30c\uc774\uc36c \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c\"],\"inLanguage\":\"ko-KR\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/atmokpo.com\/w\/27010\/\",\"url\":\"https:\/\/atmokpo.com\/w\/27010\/\",\"name\":\"\ud30c\uc774\uc36c \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uad6c\uac04 \ud569 \uad6c\ud558\uae30 3 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#website\"},\"datePublished\":\"2024-10-27T13:42:53+00:00\",\"dateModified\":\"2024-11-26T07:24:28+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/atmokpo.com\/w\/27010\/#breadcrumb\"},\"inLanguage\":\"ko-KR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/atmokpo.com\/w\/27010\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/atmokpo.com\/w\/27010\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\ud648\",\"item\":\"https:\/\/atmokpo.com\/w\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\ud30c\uc774\uc36c \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uad6c\uac04 \ud569 \uad6c\ud558\uae30 3\"}]},{\"@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":"\ud30c\uc774\uc36c \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uad6c\uac04 \ud569 \uad6c\ud558\uae30 3 - \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\/27010\/","og_locale":"ko_KR","og_type":"article","og_title":"\ud30c\uc774\uc36c \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uad6c\uac04 \ud569 \uad6c\ud558\uae30 3 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","og_description":"\ubb38\uc81c \uc124\uba85 \uc8fc\uc5b4\uc9c4 \uc815\uc218 \ubc30\uc5f4 A\uc640 \uc5ec\ub7ec \uc30d\uc758 \uc815\uc218 L, R\uc774 \uc8fc\uc5b4\uc84c\uc744 \ub54c, \uac01 \uc30d\uc5d0 \ub300\ud574 L\ubc88 \uc778\ub371\uc2a4\ubd80\ud130 R\ubc88 \uc778\ub371\uc2a4\uc758 \uad6c\uac04 \ud569\uc744 \uad6c\ud558\ub294 \ud504\ub85c\uadf8\ub7a8\uc744 \uc791\uc131\ud558\uc2dc\uc624. \uc608\ub97c \ub4e4\uc5b4, A = [1, 2, 3, 4, 5]\uc774\uace0 \uad6c\uac04 \uc30d\uc774 (1, 3), (0, 2), (2, 4)\ub77c\uace0 \ud558\uba74, \uacb0\uacfc\ub294 \uac01\uac01 9, 6, 12\uac00 \ub418\uc5b4\uc57c \ud569\ub2c8\ub2e4. \uc785\ub825 \ud615\uc2dd - \uccab \uc904\uc5d0 &hellip; \ub354 \ubcf4\uae30 \"\ud30c\uc774\uc36c \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uad6c\uac04 \ud569 \uad6c\ud558\uae30 3\"","og_url":"https:\/\/atmokpo.com\/w\/27010\/","og_site_name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","article_published_time":"2024-10-27T13:42:53+00:00","article_modified_time":"2024-11-26T07:24:28+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\/27010\/#article","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/27010\/"},"author":{"name":"root","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7"},"headline":"\ud30c\uc774\uc36c \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uad6c\uac04 \ud569 \uad6c\ud558\uae30 3","datePublished":"2024-10-27T13:42:53+00:00","dateModified":"2024-11-26T07:24:28+00:00","mainEntityOfPage":{"@id":"https:\/\/atmokpo.com\/w\/27010\/"},"wordCount":82,"publisher":{"@id":"https:\/\/atmokpo.com\/w\/#organization"},"articleSection":["\ud30c\uc774\uc36c \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c"],"inLanguage":"ko-KR"},{"@type":"WebPage","@id":"https:\/\/atmokpo.com\/w\/27010\/","url":"https:\/\/atmokpo.com\/w\/27010\/","name":"\ud30c\uc774\uc36c \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uad6c\uac04 \ud569 \uad6c\ud558\uae30 3 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/#website"},"datePublished":"2024-10-27T13:42:53+00:00","dateModified":"2024-11-26T07:24:28+00:00","breadcrumb":{"@id":"https:\/\/atmokpo.com\/w\/27010\/#breadcrumb"},"inLanguage":"ko-KR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/atmokpo.com\/w\/27010\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/atmokpo.com\/w\/27010\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\ud648","item":"https:\/\/atmokpo.com\/w\/en\/"},{"@type":"ListItem","position":2,"name":"\ud30c\uc774\uc36c \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uad6c\uac04 \ud569 \uad6c\ud558\uae30 3"}]},{"@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\/27010","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=27010"}],"version-history":[{"count":1,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/27010\/revisions"}],"predecessor-version":[{"id":27011,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/27010\/revisions\/27011"}],"wp:attachment":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/media?parent=27010"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/categories?post=27010"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/tags?post=27010"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}