{"id":140,"date":"2021-01-03T15:47:00","date_gmt":"2021-01-03T15:47:00","guid":{"rendered":"https:\/\/imwarming.com\/?p=140"},"modified":"2021-01-03T15:47:00","modified_gmt":"2021-01-03T15:47:00","slug":"%e8%80%81%e4%bc%9a%e5%bf%98%e7%9a%84%e4%ba%8c%e5%8f%89%e6%a0%91%e9%81%8d%e5%8e%86%e5%bb%ba%e6%a0%91%e8%be%93%e5%87%ba","status":"publish","type":"post","link":"https:\/\/imwarming.com\/?p=140","title":{"rendered":"\u8001\u4f1a\u5fd8\u7684\u4e8c\u53c9\u6811\u904d\u5386\u5efa\u6811\u8f93\u51fa"},"content":{"rendered":"<p>\u524d\u4e2d\u8f93\u51fa\u540e<\/p>\n<div class=\"cnblogs_code\">\n<pre>#include&lt;iostream&gt;  \n<span style=\"color: #0000ff;\">using<\/span> <span style=\"color: #0000ff;\">namespace<\/span><span style=\"color: #000000;\"> std;  \n<\/span><span style=\"color: #0000ff;\">int<\/span> pre[] = {<span style=\"color: #800080;\">1<\/span>, <span style=\"color: #800080;\">2<\/span>, <span style=\"color: #800080;\">3<\/span>, <span style=\"color: #800080;\">4<\/span>, <span style=\"color: #800080;\">5<\/span>, <span style=\"color: #800080;\">6<\/span><span style=\"color: #000000;\">};  \n<\/span><span style=\"color: #0000ff;\">int<\/span> mid[] = {<span style=\"color: #800080;\">3<\/span>, <span style=\"color: #800080;\">2<\/span>, <span style=\"color: #800080;\">4<\/span>, <span style=\"color: #800080;\">1<\/span>, <span style=\"color: #800080;\">6<\/span>, <span style=\"color: #800080;\">5<\/span><span style=\"color: #000000;\">};  \n<\/span><span style=\"color: #0000ff;\">void<\/span> post(<span style=\"color: #0000ff;\">int<\/span> root, <span style=\"color: #0000ff;\">int<\/span> start, <span style=\"color: #0000ff;\">int<\/span><span style=\"color: #000000;\"> end) \n{  \n    <\/span><span style=\"color: #0000ff;\">if<\/span>(start &gt;<span style=\"color: #000000;\"> end)   \n        <\/span><span style=\"color: #0000ff;\">return<\/span><span style=\"color: #000000;\"> ;  \n    <\/span><span style=\"color: #0000ff;\">int<\/span> i =<span style=\"color: #000000;\"> start;  \n    <\/span><span style=\"color: #0000ff;\">while<\/span>(i &lt; end &amp;&amp; mid[i] != pre[root]) i++;  <span style=\"color: #008000;\">\/\/<\/span><span style=\"color: #008000;\">\u5b9a\u4f4d\u6839\u5728\u4e2d\u5e8f\u7684\u4f4d\u7f6e<\/span>\n    post(root + <span style=\"color: #800080;\">1<\/span>, start, i - <span style=\"color: #800080;\">1<\/span>);  <span style=\"color: #008000;\">\/\/<\/span><span style=\"color: #008000;\">\u9012\u5f52\u5904\u7406\u5de6\u5b50\u6811<\/span>\n    post(root + <span style=\"color: #800080;\">1<\/span> + i - start, i + <span style=\"color: #800080;\">1<\/span>, end);  <span style=\"color: #008000;\">\/\/<\/span><span style=\"color: #008000;\">\u9012\u5f52\u5904\u7406\u53f3\u5b50\u6811\n    <\/span><span style=\"color: #008000;\">\/\/<\/span><span style=\"color: #008000;\">cout&lt;&lt;pre[root];  <\/span><span style=\"color: #008000;\">\/\/<\/span><span style=\"color: #008000;\">\u8bbf\u95ee\u5f53\u524d\u6811\u7684\u6839<\/span>\n    cout&lt;&lt;<span style=\"color: #000000;\">mid[i];\n}  \n\n<\/span><span style=\"color: #0000ff;\">int<\/span><span style=\"color: #000000;\"> main() \n{  \n    post(<\/span><span style=\"color: #800080;\">0<\/span>, <span style=\"color: #800080;\">0<\/span>, <span style=\"color: #800080;\">5<\/span><span style=\"color: #000000;\">);  \n    <\/span><span style=\"color: #0000ff;\">return<\/span> <span style=\"color: #800080;\">0<\/span><span style=\"color: #000000;\">;  \n} <\/span><\/pre>\n<\/div>\n<p>\u540e\u4e2d\u8f93\u51fa\u524d<\/p>\n<div class=\"cnblogs_code\">\n<pre>#include&lt;iostream&gt;  \n<span style=\"color: #0000ff;\">using<\/span> <span style=\"color: #0000ff;\">namespace<\/span><span style=\"color: #000000;\"> std;  \n<\/span><span style=\"color: #0000ff;\">int<\/span> post[] = {<span style=\"color: #800080;\">3<\/span>, <span style=\"color: #800080;\">4<\/span>, <span style=\"color: #800080;\">2<\/span>, <span style=\"color: #800080;\">6<\/span>, <span style=\"color: #800080;\">5<\/span>, <span style=\"color: #800080;\">1<\/span><span style=\"color: #000000;\">};  \n<\/span><span style=\"color: #0000ff;\">int<\/span> mid[] = {<span style=\"color: #800080;\">3<\/span>, <span style=\"color: #800080;\">2<\/span>, <span style=\"color: #800080;\">4<\/span>, <span style=\"color: #800080;\">1<\/span>, <span style=\"color: #800080;\">6<\/span>, <span style=\"color: #800080;\">5<\/span><span style=\"color: #000000;\">};  \n<\/span><span style=\"color: #0000ff;\">void<\/span> pre(<span style=\"color: #0000ff;\">int<\/span> root, <span style=\"color: #0000ff;\">int<\/span> start, <span style=\"color: #0000ff;\">int<\/span><span style=\"color: #000000;\"> end) \n{  \n    <\/span><span style=\"color: #0000ff;\">if<\/span>(start &gt;<span style=\"color: #000000;\"> end)   \n        <\/span><span style=\"color: #0000ff;\">return<\/span><span style=\"color: #000000;\"> ;  \n    <\/span><span style=\"color: #0000ff;\">int<\/span> i =<span style=\"color: #000000;\"> start;  \n    <\/span><span style=\"color: #0000ff;\">while<\/span>(i &lt; end &amp;&amp; mid[i] != post[root]) i++;  <span style=\"color: #008000;\">\/\/<\/span><span style=\"color: #008000;\">\u5b9a\u4f4d\u6839\u5728\u4e2d\u5e8f\u7684\u4f4d\u7f6e<\/span>\n    cout&lt;&lt;mid[i];  <span style=\"color: #008000;\">\/\/<\/span><span style=\"color: #008000;\">\u8bbf\u95ee\u5f53\u524d\u5904\u7406\u7684\u6811\u7684\u6839<\/span>\n    pre(root-<span style=\"color: #800080;\">1<\/span>-(end-i), start, i - <span style=\"color: #800080;\">1<\/span>);  <span style=\"color: #008000;\">\/\/<\/span><span style=\"color: #008000;\">\u9012\u5f52\u5904\u7406\u5de6\u5b50\u6811<\/span>\n    pre(root-<span style=\"color: #800080;\">1<\/span>, i + <span style=\"color: #800080;\">1<\/span>, end);  <span style=\"color: #008000;\">\/\/<\/span><span style=\"color: #008000;\">\u9012\u5f52\u5904\u7406\u53f3\u5b50\u6811  <\/span>\n<span style=\"color: #000000;\">}  \n\n<\/span><span style=\"color: #0000ff;\">int<\/span><span style=\"color: #000000;\"> main()\n {  \n    pre(<\/span><span style=\"color: #800080;\">5<\/span>, <span style=\"color: #800080;\">0<\/span>, <span style=\"color: #800080;\">5<\/span><span style=\"color: #000000;\">);  \n    <\/span><span style=\"color: #0000ff;\">return<\/span> <span style=\"color: #800080;\">0<\/span><span style=\"color: #000000;\">;  \n}<\/span><\/pre>\n<\/div>\n<p>\u5148\u4e2d\u5e8f\u5efa\u6811<\/p>\n<div class=\"cnblogs_code\">\n<pre>treenode reconstructbinarytree(<span style=\"color: #0000ff;\">int<\/span>[] pre, <span style=\"color: #0000ff;\">int<\/span> prestart, <span style=\"color: #0000ff;\">int<\/span> preend, <span style=\"color: #0000ff;\">int<\/span>[] <span style=\"color: #0000ff;\">in<\/span>, <span style=\"color: #0000ff;\">int<\/span> instart, <span style=\"color: #0000ff;\">int<\/span><span style=\"color: #000000;\"> inend) {\n    <\/span><span style=\"color: #0000ff;\">if<\/span> (prestart &gt; preend || instart &gt; inend) { <span style=\"color: #008000;\">\/\/<\/span><span style=\"color: #008000;\">\u5230\u8fbe\u8fb9\u754c\u6761\u4ef6\u65f6\u8fd4\u56denull<\/span>\n        <span style=\"color: #0000ff;\">return<\/span> <span style=\"color: #0000ff;\">null<\/span><span style=\"color: #000000;\">;\n    }\n    treenode treenode <\/span>= <span style=\"color: #0000ff;\">new<\/span> treenode(pre[prestart]);   <span style=\"color: #008000;\">\/\/<\/span><span style=\"color: #008000;\">\u65b0\u5efa\u4e00\u4e2atreenode<\/span>\n\n    <span style=\"color: #0000ff;\">for<\/span> (<span style=\"color: #0000ff;\">int<\/span> i = instart; i &lt;= inend; i++<span style=\"color: #000000;\">) {\n        <\/span><span style=\"color: #0000ff;\">if<\/span> (<span style=\"color: #0000ff;\">in<\/span>[i] == pre[prestart]) {    <span style=\"color: #008000;\">\/\/<\/span><span style=\"color: #008000;\">\u5728\u4e2d\u5e8f\u4e2d\u627e\u5230\u6839\u8282\u70b9\u7684\u4f4d\u7f6e\uff0c\u3010\u4f9d\u6b21\u3011\u5c06\u5148\u5e8f\u5e8f\u5217\u548c\u4e2d\u5e8f\u5e8f\u5217\u5206\u6210\u5de6\u53f3\u5b57\u6811\uff0c\u5206\u522b\u6784\u5efa\u5de6\u53f3\u5b50\u6811\u3002\n            <\/span><span style=\"color: #008000;\">\/\/<\/span><span style=\"color: #008000;\"> \u91cd\u6784\u5de6\u5b50\u6811\uff0c\u6ce8\u610f\u8fb9\u754c\u6761\u4ef6<\/span>\n            treenode.left = reconstructbinarytree(pre, prestart + <span style=\"color: #800080;\">1<\/span>, prestart + i - instart, <span style=\"color: #0000ff;\">in<\/span>, instart, i - <span style=\"color: #800080;\">1<\/span><span style=\"color: #000000;\">);\n            <\/span><span style=\"color: #008000;\">\/\/<\/span><span style=\"color: #008000;\"> \u91cd\u6784\u53f3\u5b50\u6811\uff0c\u6ce8\u610f\u8fb9\u754c\u6761\u4ef6<\/span>\n            treenode.right = reconstructbinarytree(pre, prestart + i - instart + <span style=\"color: #800080;\">1<\/span>, preend, <span style=\"color: #0000ff;\">in<\/span>, i + <span style=\"color: #800080;\">1<\/span><span style=\"color: #000000;\">, inend);\n        }\n    }\n    <\/span><span style=\"color: #0000ff;\">return<\/span><span style=\"color: #000000;\"> treenode;\n}<\/span><\/pre>\n<\/div>\n<p>&nbsp;<\/p>\n<p>\u540e\u4e2d\u5e8f\u5efa\u6811<\/p>\n<div class=\"cnblogs_code\">\n<pre>treenode reconstructbinarytree2(<span style=\"color: #0000ff;\">int<\/span>[] <span style=\"color: #0000ff;\">in<\/span>, <span style=\"color: #0000ff;\">int<\/span> instart, <span style=\"color: #0000ff;\">int<\/span> inend, <span style=\"color: #0000ff;\">int<\/span>[] last, <span style=\"color: #0000ff;\">int<\/span> laststart, <span style=\"color: #0000ff;\">int<\/span><span style=\"color: #000000;\"> lastend) {\n    <\/span><span style=\"color: #0000ff;\">if<\/span> (instart &gt; inend || laststart &gt;<span style=\"color: #000000;\"> lastend)\n        <\/span><span style=\"color: #0000ff;\">return<\/span> <span style=\"color: #0000ff;\">null<\/span><span style=\"color: #000000;\">;\n    treenode treenode <\/span>= <span style=\"color: #0000ff;\">new<\/span><span style=\"color: #000000;\"> treenode(last[lastend]);\n    <\/span><span style=\"color: #0000ff;\">for<\/span> (<span style=\"color: #0000ff;\">int<\/span> i = instart; i &lt;= inend; i++<span style=\"color: #000000;\">) {\n        <\/span><span style=\"color: #0000ff;\">if<\/span> (<span style=\"color: #0000ff;\">in<\/span>[i] ==<span style=\"color: #000000;\"> last[lastend]) {\n            treenode.left <\/span>= reconstructbinarytree2(<span style=\"color: #0000ff;\">in<\/span>, instart, i - <span style=\"color: #800080;\">1<\/span>, last, laststart, laststart + i - instart - <span style=\"color: #800080;\">1<\/span><span style=\"color: #000000;\">);\n            treenode.right <\/span>= reconstructbinarytree2(<span style=\"color: #0000ff;\">in<\/span>, i + <span style=\"color: #800080;\">1<\/span>, inend, last, laststart + i - instart, lastend - <span style=\"color: #800080;\">1<\/span><span style=\"color: #000000;\">);\n        }\n    }\n    <\/span><span style=\"color: #0000ff;\">return<\/span><span style=\"color: #000000;\"> treenode;\n}<\/span><\/pre>\n<\/div>\n<p>&nbsp;<\/p>\n<p>\u4e8c\u53c9\u641c\u7d22\u6811\u524d\u5e8f\u8f93\u51fa\u540e\u5e8f<\/p>\n<div class=\"cnblogs_code\">\n<pre>vector&lt;<span style=\"color: #0000ff;\">int<\/span>&gt;<span style=\"color: #000000;\"> v;\n<\/span><span style=\"color: #0000ff;\">void<\/span> getpost(<span style=\"color: #0000ff;\">int<\/span> root, <span style=\"color: #0000ff;\">int<\/span><span style=\"color: #000000;\"> last) {\n    <\/span><span style=\"color: #0000ff;\">int<\/span> i = root + <span style=\"color: #800080;\">1<\/span>, j =<span style=\"color: #000000;\"> last;\n    <\/span><span style=\"color: #0000ff;\">while<\/span> (a[i] &lt; a[root] &amp;&amp; i &lt;= last)i++;<span style=\"color: #008000;\">\/\/<\/span><span style=\"color: #008000;\">\u627e\u5f53\u524d\u6839\u8282\u70b9\u5de6\u5b50\u8282\u70b9\u8fb9\u754c<\/span>\n    <span style=\"color: #0000ff;\">while<\/span> (a[j] &gt;= a[root] &amp;&amp; j &gt; root)j--;<span style=\"color: #008000;\">\/\/<\/span><span style=\"color: #008000;\">\u627e\u5f53\u524d\u6839\u8282\u70b9\u53f3\u5b50\u8282\u70b9\u8fb9\u754c<\/span>\n    <span style=\"color: #0000ff;\">if<\/span> (i - j != <span style=\"color: #800080;\">1<\/span>)<span style=\"color: #0000ff;\">return<\/span><span style=\"color: #000000;\">;\n    getpost(root <\/span>+ <span style=\"color: #800080;\">1<\/span>, j);<span style=\"color: #008000;\">\/\/<\/span><span style=\"color: #008000;\">\u904d\u5386\u5de6\u5b50\u8282\u70b9<\/span>\n    getpost(i, last);<span style=\"color: #008000;\">\/\/<\/span><span style=\"color: #008000;\">\u904d\u5386\u53f3\u5b50\u8282\u70b9<\/span>\n    v.push_back(a[root]);<span style=\"color: #008000;\">\/\/<\/span><span style=\"color: #008000;\">pb\u6839\u8282\u70b9(\u5de6\u53f3\u6839)<\/span>\n}<\/pre>\n<\/div>\n<p>*\u7ed9\u51fa\u4e8c\u53c9\u641c\u7d22\u6811\u7684\u4e00\u4e2a\u904d\u5386\uff0c\u53ea\u8981\u4ece\u5c0f\u5230\u5927\u6392\u5e8f\u5c31\u662f\u5176\u4e2d\u5e8f\u904d\u5386\uff0c\u6839\u636e\u4e2d\u5e8f\u904d\u5386\u4ece0\u4e0b\u6807\u5f00\u59cb\u5728\u8fdb\u884c\u5de6\u6839\u53f3\u904d\u5386\u5f97\u5230\u5c42\u5e8f\u904d\u5386&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>\u4e8c\u53c9\u6811\u540e\u4e2d\u5e8f\u8f93\u51fa\u5c42\u5e8f<\/p>\n<div class=\"cnblogs_code\">\n<pre><span style=\"color: #0000ff;\">int<\/span> post[<span style=\"color: #800080;\">1005<\/span>], <span style=\"color: #0000ff;\">in<\/span>[<span style=\"color: #800080;\">1005<\/span><span style=\"color: #000000;\">];\nmap<\/span>&lt;<span style=\"color: #0000ff;\">int<\/span>, <span style=\"color: #0000ff;\">int<\/span>&gt;<span style=\"color: #000000;\"> ma, le;\n<\/span><span style=\"color: #0000ff;\">void<\/span> level(<span style=\"color: #0000ff;\">int<\/span> root, <span style=\"color: #0000ff;\">int<\/span> l, <span style=\"color: #0000ff;\">int<\/span> r, <span style=\"color: #0000ff;\">int<\/span><span style=\"color: #000000;\"> index) {\n    <\/span><span style=\"color: #0000ff;\">if<\/span> (l &gt; r)<span style=\"color: #0000ff;\">return<\/span><span style=\"color: #000000;\">;\n    <\/span><span style=\"color: #0000ff;\">int<\/span> p = ma[post[root]];<span style=\"color: #008000;\">\/\/<\/span><span style=\"color: #008000;\">\u5f53\u524d\u540e\u5e8f\u6240\u5728\u6839\u8282\u70b9\u524d\u5e8f\u4f4d\u7f6e<\/span>\n    le[index] = post[root];<span style=\"color: #008000;\">\/\/<\/span><span style=\"color: #008000;\">index\u4e3a\u8282\u70b9\u4e0b\u6807<\/span>\n    level(root - r + p - <span style=\"color: #800080;\">1<\/span>, l, p - <span style=\"color: #800080;\">1<\/span>, <span style=\"color: #800080;\">2<\/span> * index);<span style=\"color: #008000;\">\/\/<\/span><span style=\"color: #008000;\">root - (r - p) - 1\u662f\u5f53\u524d\u540e\u5e8f\u6839\u8282\u70b9\u4f4d\u7f6e\u51cf\u53bb(\u5176\u53f3\u5b50\u6811\u8282\u70b9\u4e2a\u6570)\u518d\u51cf\u4e00\u4f4d<\/span>\n    level(root - <span style=\"color: #800080;\">1<\/span>, p + <span style=\"color: #800080;\">1<\/span>, r, <span style=\"color: #800080;\">2<\/span> * index + <span style=\"color: #800080;\">1<\/span><span style=\"color: #000000;\">);\n}\n\n<\/span><span style=\"color: #0000ff;\">int<\/span><span style=\"color: #000000;\"> main() {\n    <\/span><span style=\"color: #0000ff;\">int<\/span><span style=\"color: #000000;\"> n;\n    cin <\/span>&gt;&gt;<span style=\"color: #000000;\"> n;\n    <\/span><span style=\"color: #0000ff;\">for<\/span> (<span style=\"color: #0000ff;\">int<\/span> i = <span style=\"color: #800080;\">1<\/span>; i &lt;= n; i++<span style=\"color: #000000;\">) {\n        cin <\/span>&gt;&gt;<span style=\"color: #000000;\"> post[i];\n    }\n    <\/span><span style=\"color: #0000ff;\">for<\/span> (<span style=\"color: #0000ff;\">int<\/span> i = <span style=\"color: #800080;\">1<\/span>; i &lt;= n; i++<span style=\"color: #000000;\">) {\n        cin <\/span>&gt;&gt; <span style=\"color: #0000ff;\">in<\/span><span style=\"color: #000000;\">[i];\n        ma[<\/span><span style=\"color: #0000ff;\">in<\/span>[i]] =<span style=\"color: #000000;\"> i;\n    }\n    level(n, <\/span><span style=\"color: #800080;\">1<\/span>, n, <span style=\"color: #800080;\">1<\/span><span style=\"color: #000000;\">);\n}<\/span><\/pre>\n<\/div>\n<p>&nbsp;<\/p>\n<div class=\"memorize_new_word_loading\" style=\"display: none;\">&nbsp;<\/div>\n<div class=\"bv-shadow-dom bv-shadow-dom-fade_out\">&nbsp;<\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u524d\u4e2d\u8f93\u51fa\u540e #include&lt;iostream&gt; using namespace std [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-140","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v18.6 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u8001\u4f1a\u5fd8\u7684\u4e8c\u53c9\u6811\u904d\u5386\u5efa\u6811\u8f93\u51fa - imwarming<\/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:\/\/imwarming.com\/?p=140\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u8001\u4f1a\u5fd8\u7684\u4e8c\u53c9\u6811\u904d\u5386\u5efa\u6811\u8f93\u51fa - imwarming\" \/>\n<meta property=\"og:description\" content=\"\u524d\u4e2d\u8f93\u51fa\u540e #include&lt;iostream&gt; using namespace std [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/imwarming.com\/?p=140\" \/>\n<meta property=\"og:site_name\" content=\"imwarming\" \/>\n<meta property=\"article:published_time\" content=\"2021-01-03T15:47:00+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"warming\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebSite\",\"@id\":\"https:\/\/imwarming.com\/#website\",\"url\":\"https:\/\/imwarming.com\/\",\"name\":\"imwarming\",\"description\":\"\u6c38\u8fdc\u5e74\u8f7b\uff0c\u6c38\u8fdc\u70ed\u6cea\u76c8\u7736\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/imwarming.com\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/imwarming.com\/?p=140#webpage\",\"url\":\"https:\/\/imwarming.com\/?p=140\",\"name\":\"\u8001\u4f1a\u5fd8\u7684\u4e8c\u53c9\u6811\u904d\u5386\u5efa\u6811\u8f93\u51fa - imwarming\",\"isPartOf\":{\"@id\":\"https:\/\/imwarming.com\/#website\"},\"datePublished\":\"2021-01-03T15:47:00+00:00\",\"dateModified\":\"2021-01-03T15:47:00+00:00\",\"author\":{\"@id\":\"https:\/\/imwarming.com\/#\/schema\/person\/9d76869a558bac6dd0d6d58f420ee8ea\"},\"breadcrumb\":{\"@id\":\"https:\/\/imwarming.com\/?p=140#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/imwarming.com\/?p=140\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/imwarming.com\/?p=140#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/imwarming.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u8001\u4f1a\u5fd8\u7684\u4e8c\u53c9\u6811\u904d\u5386\u5efa\u6811\u8f93\u51fa\"}]},{\"@type\":\"Person\",\"@id\":\"https:\/\/imwarming.com\/#\/schema\/person\/9d76869a558bac6dd0d6d58f420ee8ea\",\"name\":\"warming\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/imwarming.com\/#personlogo\",\"inLanguage\":\"zh-Hans\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/c4a913eed88f7601b76bbf2b103472621195b6fa2f742af89b5ea185b60e7cff?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/c4a913eed88f7601b76bbf2b103472621195b6fa2f742af89b5ea185b60e7cff?s=96&d=mm&r=g\",\"caption\":\"warming\"},\"sameAs\":[\"https:\/\/imwarming.com\"],\"url\":\"https:\/\/imwarming.com\/?author=1\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u8001\u4f1a\u5fd8\u7684\u4e8c\u53c9\u6811\u904d\u5386\u5efa\u6811\u8f93\u51fa - imwarming","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:\/\/imwarming.com\/?p=140","og_locale":"zh_CN","og_type":"article","og_title":"\u8001\u4f1a\u5fd8\u7684\u4e8c\u53c9\u6811\u904d\u5386\u5efa\u6811\u8f93\u51fa - imwarming","og_description":"\u524d\u4e2d\u8f93\u51fa\u540e #include&lt;iostream&gt; using namespace std [&hellip;]","og_url":"https:\/\/imwarming.com\/?p=140","og_site_name":"imwarming","article_published_time":"2021-01-03T15:47:00+00:00","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"warming","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"2 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebSite","@id":"https:\/\/imwarming.com\/#website","url":"https:\/\/imwarming.com\/","name":"imwarming","description":"\u6c38\u8fdc\u5e74\u8f7b\uff0c\u6c38\u8fdc\u70ed\u6cea\u76c8\u7736","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/imwarming.com\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"WebPage","@id":"https:\/\/imwarming.com\/?p=140#webpage","url":"https:\/\/imwarming.com\/?p=140","name":"\u8001\u4f1a\u5fd8\u7684\u4e8c\u53c9\u6811\u904d\u5386\u5efa\u6811\u8f93\u51fa - imwarming","isPartOf":{"@id":"https:\/\/imwarming.com\/#website"},"datePublished":"2021-01-03T15:47:00+00:00","dateModified":"2021-01-03T15:47:00+00:00","author":{"@id":"https:\/\/imwarming.com\/#\/schema\/person\/9d76869a558bac6dd0d6d58f420ee8ea"},"breadcrumb":{"@id":"https:\/\/imwarming.com\/?p=140#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/imwarming.com\/?p=140"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/imwarming.com\/?p=140#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/imwarming.com\/"},{"@type":"ListItem","position":2,"name":"\u8001\u4f1a\u5fd8\u7684\u4e8c\u53c9\u6811\u904d\u5386\u5efa\u6811\u8f93\u51fa"}]},{"@type":"Person","@id":"https:\/\/imwarming.com\/#\/schema\/person\/9d76869a558bac6dd0d6d58f420ee8ea","name":"warming","image":{"@type":"ImageObject","@id":"https:\/\/imwarming.com\/#personlogo","inLanguage":"zh-Hans","url":"https:\/\/secure.gravatar.com\/avatar\/c4a913eed88f7601b76bbf2b103472621195b6fa2f742af89b5ea185b60e7cff?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/c4a913eed88f7601b76bbf2b103472621195b6fa2f742af89b5ea185b60e7cff?s=96&d=mm&r=g","caption":"warming"},"sameAs":["https:\/\/imwarming.com"],"url":"https:\/\/imwarming.com\/?author=1"}]}},"_links":{"self":[{"href":"https:\/\/imwarming.com\/index.php?rest_route=\/wp\/v2\/posts\/140","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/imwarming.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/imwarming.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/imwarming.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/imwarming.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=140"}],"version-history":[{"count":0,"href":"https:\/\/imwarming.com\/index.php?rest_route=\/wp\/v2\/posts\/140\/revisions"}],"wp:attachment":[{"href":"https:\/\/imwarming.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=140"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/imwarming.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=140"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/imwarming.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=140"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}