{"id":79151,"date":"2026-03-01T09:24:47","date_gmt":"2026-03-01T01:24:47","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/79151.html"},"modified":"2026-03-01T09:24:47","modified_gmt":"2026-03-01T01:24:47","slug":"%e3%80%90%e7%ae%97%e6%b3%95%e9%80%9a%e5%85%b3%e6%8c%87%e5%8d%97%ef%bc%9a%e7%ae%97%e6%b3%95%e5%9f%ba%e7%a1%80%e7%af%87%e3%80%91%e4%ba%8c%e5%88%86%e7%ae%97%e6%b3%95%ef%bc%9a1-%e5%9c%a8%e6%8e%92%e5%ba%8f","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/79151.html","title":{"rendered":"\u3010\u7b97\u6cd5\u901a\u5173\u6307\u5357\uff1a\u7b97\u6cd5\u57fa\u7840\u7bc7\u3011\u4e8c\u5206\u7b97\u6cd5\uff1a1.\u5728\u6392\u5e8f\u6811\u7ec4\u4e2d\u67e5\u627e\u5143\u7d20\u7684\u7b2c\u4e00\u4e2a\u548c\u6700\u540e\u4e00\u4e2a\u4f4d\u7f6e 2.\u725b\u53ef\u4e50\u548c\u9b54\u6cd5\u5c01\u5370"},"content":{"rendered":"<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/03\/20260301012445-69a3955d07223.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p>&#x1f525;\u5c0f\u9f99\u62a5&#xff1a;\u4e2a\u4eba\u4e3b\u9875 &#x1f3ac;\u4f5c\u8005\u7b80\u4ecb&#xff1a;C&#043;&#043;\u7814\u53d1&#xff0c;\u5d4c\u5165\u5f0f&#xff0c;\u673a\u5668\u4eba\u65b9\u5411\u5b66\u4e60\u8005 \u2744\ufe0f\u4e2a\u4eba\u4e13\u680f&#xff1a;\u300a\u7b97\u6cd5\u901a\u5173\u6307\u5357\u300b <font color=\"red\" size=\"3\">\u2728 \u6c38\u8fdc\u76f8\u4fe1\u7f8e\u597d\u7684\u4e8b\u60c5\u5373\u5c06\u53d1\u751f<\/font><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/03\/20260301012445-69a3955d230e0.gif\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<\/p>\n<h4>\u6587\u7ae0\u76ee\u5f55<\/h4>\n<ul>\n<li>\u524d\u8a00<\/li>\n<li>\u4e00\u3001\u4e8c\u5206\u7b97\u6cd5<\/li>\n<li>\u4e8c\u3001\u5728\u6392\u5e8f\u6811\u7ec4\u4e2d\u67e5\u627e\u5143\u7d20\u7684\u7b2c\u4e00\u4e2a\u548c\u6700\u540e\u4e00\u4e2a\u4f4d\u7f6e<\/li>\n<li>\n<ul>\n<li>2.1\u9898\u76ee<\/li>\n<li>\n<ul>\n<li>2.2 \u7b97\u6cd5\u539f\u7406<\/li>\n<li>2.3\u4ee3\u7801<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<li>\u4e09\u3001\u725b\u53ef\u4e50\u548c\u9b54\u6cd5\u5c01\u5370<\/li>\n<li>\n<ul>\n<li>3.1\u9898\u76ee<\/li>\n<li>\n<ul>\n<li>3.2 \u7b97\u6cd5\u539f\u7406<\/li>\n<li>3.3\u4ee3\u7801<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<li>\u603b\u7ed3\u4e0e\u6bcf\u65e5\u52b1\u5fd7<\/li>\n<\/ul>\n<h2>\u524d\u8a00<\/h2>\n<p>\u672c\u4e13\u680f\u805a\u7126\u7b97\u6cd5\u9898\u5b9e\u6218&#xff0c;\u7cfb\u7edf\u8bb2\u89e3\u7b97\u6cd5\u6a21\u5757&#xff1a;\u4ee5\u300ac&#043;&#043;\u7f16\u7a0b\u300b&#xff0c;\u300a\u6570\u636e\u7ed3\u6784\u548c\u7b97\u6cd5\u300b\u300a\u57fa\u7840\u7b97\u6cd5\u300b\u300a\u7b97\u6cd5\u5b9e\u6218\u300b \u7b49\u51e0\u4e2a\u677f\u5757\u4ee5\u9898\u5e26\u70b9&#xff0c;\u8bb2\u89e3\u601d\u8def\u4e0e\u4ee3\u7801\u5b9e\u73b0&#xff0c;\u5e2e\u52a9\u5927\u5bb6\u5feb\u901f\u63d0\u5347\u4ee3\u7801\u80fd\u529bps:\u672c\u7ae0\u8282\u9898\u76ee\u5206\u4e24\u90e8\u5206&#xff0c;\u6bd4\u8f83\u57fa\u7840\u7b14\u8005\u53ea\u9644\u4e0a\u4ee3\u7801\u4f9b\u5927\u5bb6\u53c2\u8003&#xff0c;\u5176\u4ed6\u7684\u7b14\u8005\u4f1a\u9644\u4e0a\u81ea\u5df1\u7684\u601d\u8003\u548c\u8bb2\u89e3&#xff0c;\u5e0c\u671b\u548c\u5927\u5bb6\u4e00\u8d77\u52aa\u529b\u89c1\u8bc1\u81ea\u5df1\u7684\u7b97\u6cd5\u6210\u957f<\/p>\n<hr \/>\n<h2>\u4e00\u3001\u4e8c\u5206\u7b97\u6cd5<\/h2>\n<p>\u5f53\u6211\u4eec\u7684\u89e3\u5177\u6709\u4e8c\u6bb5\u6027\u65f6&#xff0c;\u5c31\u53ef\u4ee5\u4f7f\u2f64\u4e8c\u5206\u7b97\u6cd5\u627e\u51fa\u7b54\u6848&#xff1a; \u2022 \u6839\u636e\u5f85\u67e5\u627e\u533a\u95f4\u7684\u4e2d\u70b9\u4f4d\u7f6e&#xff0c;\u5206\u6790\u7b54\u6848\u4f1a\u51fa\u73b0\u5728\u54ea\u2f00\u4fa7&#xff1b; \u2022 \u63a5\u4e0b\u6765\u820d\u5f03\u4e00\u534a\u7684\u5f85\u67e5\u627e\u533a\u95f4&#xff0c;\u8f6c\u800c\u5728\u6709\u7b54\u6848\u7684\u533a\u95f4\u5185\u7ee7\u7eed\u4f7f\u7528\u4e8c\u5206\u7b97\u6cd5\u67e5\u627e\u7ed3\u679c\u3002 \u65f6\u95f4\u590d\u6742\u5ea6\u4e3a&#xff1a;O(logN)<\/p>\n<p>STL\u4e2d\u7684\u4e8c\u5206\u67e5\u627e &#xff1a;<\/p>\n<li>lower_bound &#xff1a;\u5927\u4e8e\u7b49\u4e8ex\u7684\u6700\u5c0f\u5143\u7d20&#xff0c;\u8fd4\u56de\u7684\u662f\u8fed\u4ee3\u5668&#xff1b;\u65f6\u95f4\u590d\u6742\u5ea6&#xff1a;O(log N) \u3002<\/li>\n<li>upper_bound &#xff1a;\u5927\u4e8ex\u7684\u6700\u5c0f\u5143\u7d20&#xff0c;\u8fd4\u56de\u7684\u662f\u8fed\u4ee3\u5668\u3002\u65f6\u95f4\u590d\u6742\u5ea6&#xff1a;O(log N) \u3002<\/li>\n<h2>\u4e8c\u3001\u5728\u6392\u5e8f\u6811\u7ec4\u4e2d\u67e5\u627e\u5143\u7d20\u7684\u7b2c\u4e00\u4e2a\u548c\u6700\u540e\u4e00\u4e2a\u4f4d\u7f6e<\/h2>\n<h3>2.1\u9898\u76ee<\/h3>\n<p>\u94fe\u63a5&#xff1a; \u5728\u6392\u5e8f\u6811\u7ec4\u4e2d\u67e5\u627e\u5143\u7d20\u7684\u7b2c\u4e00\u4e2a\u548c\u6700\u540e\u4e00\u4e2a\u4f4d\u7f6e <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/03\/20260301012445-69a3955d7fad6.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<h4>2.2 \u7b97\u6cd5\u539f\u7406<\/h4>\n<p>\u5de6\u53f3\u7aef\u70b9\u6c42\u6cd5&#xff1a; &#xff08;1&#xff09;\u5b9a\u4e49\u4e24\u4e2a\u6307\u9488\u6307\u5411\u6570\u7ec4\u7684\u5934\u548c\u5c3e &#xff08;2&#xff09;\u4e8c\u5206\u533a\u95f4 &#xff08;3&#xff09;\u5224\u65ad\u83b7\u53d6\u7684\u7aef\u70b9\u503c\u662f\u5426\u5408\u6cd5<\/p>\n<p>\u4e8c\u5206\u5bb9\u6613\u6b7b\u5faa\u73af\u7684\u73af\u8282 (1)\u533a\u95f4\u7f29\u5c0f\u5934\u5c3e\u6307\u9488\u7684\u76f8\u9047\u6761\u4ef6 (2)\u4e2d\u503c\u5f97\u6c42\u6cd5<\/p>\n<h4>2.3\u4ee3\u7801<\/h4>\n<p>class <span class=\"token class-name\">Solution<\/span> <span class=\"token punctuation\">{<\/span><br \/>\npublic<span class=\"token punctuation\">:<\/span><br \/>\n    vector<span class=\"token operator\">&lt;<\/span>int<span class=\"token operator\">&gt;<\/span> <span class=\"token function\">searchRange<\/span><span class=\"token punctuation\">(<\/span>vector<span class=\"token operator\">&lt;<\/span>int<span class=\"token operator\">&gt;<\/span><span class=\"token operator\">&amp;<\/span> nums<span class=\"token punctuation\">,<\/span> int target<span class=\"token punctuation\">)<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n        <span class=\"token keyword\">if<\/span><span class=\"token punctuation\">(<\/span>nums<span class=\"token punctuation\">.<\/span><span class=\"token function\">size<\/span><span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span> <span class=\"token operator\">&#061;&#061;<\/span> <span class=\"token number\">0<\/span><span class=\"token punctuation\">)<\/span><br \/>\n            <span class=\"token keyword\">return<\/span> <span class=\"token punctuation\">{<\/span><span class=\"token operator\">&#8211;<\/span><span class=\"token number\">1<\/span><span class=\"token punctuation\">,<\/span><span class=\"token operator\">&#8211;<\/span><span class=\"token number\">1<\/span><span class=\"token punctuation\">}<\/span><span class=\"token punctuation\">;<\/span><br \/>\n        <span class=\"token comment\">\/\/\u4e8c\u5206\u67e5\u627e\u5de6\u7aef\u70b9<\/span><br \/>\n        int left <span class=\"token operator\">&#061;<\/span> <span class=\"token number\">0<\/span><span class=\"token punctuation\">,<\/span>right <span class=\"token operator\">&#061;<\/span> nums<span class=\"token punctuation\">.<\/span><span class=\"token function\">size<\/span><span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span> <span class=\"token operator\">&#8211;<\/span> <span class=\"token number\">1<\/span><span class=\"token punctuation\">;<\/span><br \/>\n        <span class=\"token keyword\">while<\/span><span class=\"token punctuation\">(<\/span>left <span class=\"token operator\">&lt;<\/span> right<span class=\"token punctuation\">)<\/span><br \/>\n        <span class=\"token punctuation\">{<\/span><br \/>\n            int mid <span class=\"token operator\">&#061;<\/span> <span class=\"token punctuation\">(<\/span>left <span class=\"token operator\">&#043;<\/span> right<span class=\"token punctuation\">)<\/span> <span class=\"token operator\">\/<\/span> <span class=\"token number\">2<\/span><span class=\"token punctuation\">;<\/span><br \/>\n            <span class=\"token keyword\">if<\/span><span class=\"token punctuation\">(<\/span>nums<span class=\"token punctuation\">[<\/span>mid<span class=\"token punctuation\">]<\/span> <span class=\"token operator\">&gt;&#061;<\/span> target<span class=\"token punctuation\">)<\/span><br \/>\n                right <span class=\"token operator\">&#061;<\/span> mid<span class=\"token punctuation\">;<\/span><br \/>\n            <span class=\"token keyword\">else<\/span><br \/>\n                left <span class=\"token operator\">&#061;<\/span> mid <span class=\"token operator\">&#043;<\/span> <span class=\"token number\">1<\/span><span class=\"token punctuation\">;<\/span><br \/>\n        <span class=\"token punctuation\">}<\/span><br \/>\n        <span class=\"token keyword\">if<\/span><span class=\"token punctuation\">(<\/span>nums<span class=\"token punctuation\">[<\/span>left<span class=\"token punctuation\">]<\/span> <span class=\"token operator\">!&#061;<\/span> target<span class=\"token punctuation\">)<\/span><br \/>\n            <span class=\"token keyword\">return<\/span> <span class=\"token punctuation\">{<\/span><span class=\"token operator\">&#8211;<\/span><span class=\"token number\">1<\/span><span class=\"token punctuation\">,<\/span><span class=\"token operator\">&#8211;<\/span><span class=\"token number\">1<\/span><span class=\"token punctuation\">}<\/span><span class=\"token punctuation\">;<\/span><br \/>\n        int retleft <span class=\"token operator\">&#061;<\/span> left<span class=\"token punctuation\">;<\/span><br \/>\n        <span class=\"token comment\">\/\/\u4e8c\u5206\u67e5\u627e\u53f3\u7aef\u70b9<\/span><br \/>\n        left <span class=\"token operator\">&#061;<\/span> <span class=\"token number\">0<\/span><span class=\"token punctuation\">,<\/span>right <span class=\"token operator\">&#061;<\/span> nums<span class=\"token punctuation\">.<\/span><span class=\"token function\">size<\/span><span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span> <span class=\"token operator\">&#8211;<\/span> <span class=\"token number\">1<\/span><span class=\"token punctuation\">;<\/span><br \/>\n        <span class=\"token keyword\">while<\/span><span class=\"token punctuation\">(<\/span>left <span class=\"token operator\">&lt;<\/span> right<span class=\"token punctuation\">)<\/span><br \/>\n        <span class=\"token punctuation\">{<\/span><br \/>\n            int mid <span class=\"token operator\">&#061;<\/span> <span class=\"token punctuation\">(<\/span>left <span class=\"token operator\">&#043;<\/span> right <span class=\"token operator\">&#043;<\/span> <span class=\"token number\">1<\/span><span class=\"token punctuation\">)<\/span> <span class=\"token operator\">\/<\/span> <span class=\"token number\">2<\/span><span class=\"token punctuation\">;<\/span><br \/>\n            <span class=\"token keyword\">if<\/span><span class=\"token punctuation\">(<\/span>nums<span class=\"token punctuation\">[<\/span>mid<span class=\"token punctuation\">]<\/span> <span class=\"token operator\">&lt;&#061;<\/span> target<span class=\"token punctuation\">)<\/span><br \/>\n                left <span class=\"token operator\">&#061;<\/span> mid<span class=\"token punctuation\">;<\/span><br \/>\n            <span class=\"token keyword\">else<\/span><br \/>\n                right <span class=\"token operator\">&#061;<\/span> mid <span class=\"token operator\">&#8211;<\/span> <span class=\"token number\">1<\/span><span class=\"token punctuation\">;<\/span><br \/>\n        <span class=\"token punctuation\">}<\/span><br \/>\n        <span class=\"token keyword\">return<\/span> <span class=\"token punctuation\">{<\/span>retleft<span class=\"token punctuation\">,<\/span>right<span class=\"token punctuation\">}<\/span><span class=\"token punctuation\">;<\/span><br \/>\n    <span class=\"token punctuation\">}<\/span><br \/>\n<span class=\"token punctuation\">}<\/span><span class=\"token punctuation\">;<\/span><\/p>\n<h2>\u4e09\u3001\u725b\u53ef\u4e50\u548c\u9b54\u6cd5\u5c01\u5370<\/h2>\n<h3>3.1\u9898\u76ee<\/h3>\n<p>\u94fe\u63a5&#xff1a; \u725b\u53ef\u4e50\u548c\u9b54\u6cd5\u5c01\u5370<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/03\/20260301012445-69a3955dec2a9.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<h4>3.2 \u7b97\u6cd5\u539f\u7406<\/h4>\n<p>\u4e8c\u5206\u67e5\u627e\u7b97\u6cd5\u6a21\u7248\u9898&#xff0c;\u4f9d\u7167\u7b2c\u4e00\u9898\u601d\u8def\u6765\u5199\u5373\u53ef \u6ce8&#xff1a; \u6709\u53ef\u80fd\u5e76\u6ca1\u6709\u8fd9\u4e2a\u533a\u95f4&#xff0c;\u9700\u8981\u5728\u2f06\u5206\u7ed3\u675f\u4e4b\u540e\u5224\u65ad\u2f00\u4e0b\u3002<\/p>\n<h4>3.3\u4ee3\u7801<\/h4>\n<p>#include <span class=\"token operator\">&lt;<\/span>iostream<span class=\"token operator\">&gt;<\/span><br \/>\nusing namespace std<span class=\"token punctuation\">;<\/span><br \/>\nconst int N <span class=\"token operator\">&#061;<\/span> <span class=\"token number\">1e5<\/span> <span class=\"token operator\">&#043;<\/span> <span class=\"token number\">10<\/span><span class=\"token punctuation\">;<\/span><br \/>\ntypedef long long LL<span class=\"token punctuation\">;<\/span><br \/>\nLL a<span class=\"token punctuation\">[<\/span>N<span class=\"token punctuation\">]<\/span><span class=\"token punctuation\">;<\/span><br \/>\nint n<span class=\"token punctuation\">;<\/span><br \/>\nint <span class=\"token function\">binary_search<\/span><span class=\"token punctuation\">(<\/span>int x<span class=\"token punctuation\">,<\/span>int y<span class=\"token punctuation\">)<\/span><br \/>\n<span class=\"token punctuation\">{<\/span><\/p>\n<p>    LL l <span class=\"token operator\">&#061;<\/span> <span class=\"token number\">1<\/span><span class=\"token punctuation\">,<\/span>r <span class=\"token operator\">&#061;<\/span> n<span class=\"token punctuation\">;<\/span><br \/>\n    <span class=\"token comment\">\/\/\u67e5\u627e\u5de6\u7aef\u70b9<\/span><br \/>\n    <span class=\"token keyword\">while<\/span><span class=\"token punctuation\">(<\/span>l <span class=\"token operator\">&lt;<\/span> r<span class=\"token punctuation\">)<\/span><br \/>\n    <span class=\"token punctuation\">{<\/span><br \/>\n        LL mid <span class=\"token operator\">&#061;<\/span> <span class=\"token punctuation\">(<\/span>l <span class=\"token operator\">&#043;<\/span> r<span class=\"token punctuation\">)<\/span> <span class=\"token operator\">\/<\/span> <span class=\"token number\">2<\/span><span class=\"token punctuation\">;<\/span><\/p>\n<p>        <span class=\"token keyword\">if<\/span><span class=\"token punctuation\">(<\/span>a<span class=\"token punctuation\">[<\/span>mid<span class=\"token punctuation\">]<\/span> <span class=\"token operator\">&gt;&#061;<\/span> x<span class=\"token punctuation\">)<\/span><br \/>\n            r <span class=\"token operator\">&#061;<\/span> mid<span class=\"token punctuation\">;<\/span><br \/>\n        <span class=\"token keyword\">else<\/span><br \/>\n            l <span class=\"token operator\">&#061;<\/span> mid <span class=\"token operator\">&#043;<\/span> <span class=\"token number\">1<\/span><span class=\"token punctuation\">;<\/span><br \/>\n    <span class=\"token punctuation\">}<\/span><br \/>\n    LL retl <span class=\"token operator\">&#061;<\/span> l<span class=\"token punctuation\">;<\/span><br \/>\n    <span class=\"token comment\">\/\/\u5224\u65ad\u7aef\u70b9\u662f\u5426\u5408\u6cd5<\/span><br \/>\n    <span class=\"token keyword\">if<\/span><span class=\"token punctuation\">(<\/span>a<span class=\"token punctuation\">[<\/span>l<span class=\"token punctuation\">]<\/span> <span class=\"token operator\">&lt;<\/span> x<span class=\"token punctuation\">)<\/span><br \/>\n        <span class=\"token keyword\">return<\/span> <span class=\"token number\">0<\/span><span class=\"token punctuation\">;<\/span><\/p>\n<p>    <span class=\"token comment\">\/\/\u67e5\u627e\u53f3\u7aef\u70b9<\/span><br \/>\n    l <span class=\"token operator\">&#061;<\/span> <span class=\"token number\">1<\/span><span class=\"token punctuation\">,<\/span>r <span class=\"token operator\">&#061;<\/span> n<span class=\"token punctuation\">;<\/span><br \/>\n    <span class=\"token keyword\">while<\/span><span class=\"token punctuation\">(<\/span>l <span class=\"token operator\">&lt;<\/span> r<span class=\"token punctuation\">)<\/span><br \/>\n    <span class=\"token punctuation\">{<\/span><br \/>\n        LL mid <span class=\"token operator\">&#061;<\/span> <span class=\"token punctuation\">(<\/span>l <span class=\"token operator\">&#043;<\/span> r <span class=\"token operator\">&#043;<\/span>  <span class=\"token number\">1<\/span><span class=\"token punctuation\">)<\/span> <span class=\"token operator\">\/<\/span> <span class=\"token number\">2<\/span><span class=\"token punctuation\">;<\/span><\/p>\n<p>        <span class=\"token keyword\">if<\/span><span class=\"token punctuation\">(<\/span>a<span class=\"token punctuation\">[<\/span>mid<span class=\"token punctuation\">]<\/span> <span class=\"token operator\">&lt;&#061;<\/span> y<span class=\"token punctuation\">)<\/span><br \/>\n            l <span class=\"token operator\">&#061;<\/span> mid<span class=\"token punctuation\">;<\/span><br \/>\n        <span class=\"token keyword\">else<\/span><br \/>\n            r <span class=\"token operator\">&#061;<\/span> mid <span class=\"token operator\">&#8211;<\/span> <span class=\"token number\">1<\/span><span class=\"token punctuation\">;<\/span><br \/>\n    <span class=\"token punctuation\">}<\/span><br \/>\n    <span class=\"token keyword\">if<\/span><span class=\"token punctuation\">(<\/span>a<span class=\"token punctuation\">[<\/span>r<span class=\"token punctuation\">]<\/span> <span class=\"token operator\">&gt;<\/span> y<span class=\"token punctuation\">)<\/span><br \/>\n        <span class=\"token keyword\">return<\/span> <span class=\"token number\">0<\/span><span class=\"token punctuation\">;<\/span><br \/>\n    <span class=\"token keyword\">return<\/span> r <span class=\"token operator\">&#8211;<\/span> retl <span class=\"token operator\">&#043;<\/span> <span class=\"token number\">1<\/span><span class=\"token punctuation\">;<\/span><br \/>\n<span class=\"token punctuation\">}<\/span><\/p>\n<p>int <span class=\"token function\">main<\/span><span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span><br \/>\n<span class=\"token punctuation\">{<\/span><br \/>\n    cin <span class=\"token operator\">&gt;<\/span><span class=\"token operator\">&gt;<\/span> n<span class=\"token punctuation\">;<\/span><br \/>\n    <span class=\"token keyword\">for<\/span><span class=\"token punctuation\">(<\/span>int i <span class=\"token operator\">&#061;<\/span> <span class=\"token number\">1<\/span><span class=\"token punctuation\">;<\/span>i <span class=\"token operator\">&lt;&#061;<\/span> n<span class=\"token punctuation\">;<\/span>i<span class=\"token operator\">&#043;&#043;<\/span><span class=\"token punctuation\">)<\/span><br \/>\n        cin <span class=\"token operator\">&gt;<\/span><span class=\"token operator\">&gt;<\/span> a<span class=\"token punctuation\">[<\/span>i<span class=\"token punctuation\">]<\/span><span class=\"token punctuation\">;<\/span><\/p>\n<p>    int q<span class=\"token punctuation\">;<\/span><br \/>\n    cin <span class=\"token operator\">&gt;<\/span><span class=\"token operator\">&gt;<\/span> q<span class=\"token punctuation\">;<\/span><br \/>\n    <span class=\"token keyword\">while<\/span><span class=\"token punctuation\">(<\/span>q<span class=\"token operator\">&#8212;<\/span><span class=\"token punctuation\">)<\/span><br \/>\n    <span class=\"token punctuation\">{<\/span><br \/>\n        int x<span class=\"token punctuation\">,<\/span>y<span class=\"token punctuation\">;<\/span><br \/>\n        cin <span class=\"token operator\">&gt;<\/span><span class=\"token operator\">&gt;<\/span> x <span class=\"token operator\">&gt;<\/span><span class=\"token operator\">&gt;<\/span> y<span class=\"token punctuation\">;<\/span><br \/>\n        int ret <span class=\"token operator\">&#061;<\/span> <span class=\"token function\">binary_search<\/span><span class=\"token punctuation\">(<\/span>x<span class=\"token punctuation\">,<\/span>y<span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><br \/>\n        cout <span class=\"token operator\">&lt;<\/span><span class=\"token operator\">&lt;<\/span> ret <span class=\"token operator\">&lt;<\/span><span class=\"token operator\">&lt;<\/span> endl<span class=\"token punctuation\">;<\/span><br \/>\n    <span class=\"token punctuation\">}<\/span><\/p>\n<p>    <span class=\"token keyword\">return<\/span> <span class=\"token number\">0<\/span><span class=\"token punctuation\">;<\/span><br \/>\n<span class=\"token punctuation\">}<\/span><\/p>\n<h2>\u603b\u7ed3\u4e0e\u6bcf\u65e5\u52b1\u5fd7<\/h2>\n<p><font color=\"red\" size=\"3\">\u2728\u672c\u6b21\u56f4\u7ed5\u4e8c\u5206\u7b97\u6cd5\u5c55\u5f00&#xff0c;\u8bb2\u89e3\u5176\u4e8c\u6bb5\u6027\u6838\u5fc3\u903b\u8f91\u53caSTL\u4e8c\u5206\u51fd\u6570&#xff0c;\u7ed3\u5408\u4e24\u9053\u5b9e\u6218\u9898\u5b9e\u64cd\u6f14\u7ec3&#xff0c;\u91cd\u70b9\u638c\u63e1\u5de6\u53f3\u7aef\u70b9\u67e5\u627e\u7684\u4e8c\u5206\u6a21\u7248\u3001mid\u53d6\u6574\u6280\u5de7\u53ca\u7aef\u70b9\u5408\u6cd5\u6027\u5224\u65ad&#xff0c;\u89c4\u907f\u6b7b\u5faa\u73af\u8bef\u533a\u3002\u7b97\u6cd5\u5b66\u4e60\u91cd\u5728\u6c89\u6dc0&#xff0c;\u6bcf\u4e00\u9053\u6a21\u7248\u9898\u7684\u7ec3\u4e60&#xff0c;\u90fd\u662f\u7a81\u7834\u74f6\u9888\u7684\u5e95\u6c14\u3002\u2728 \u6c38\u8fdc\u76f8\u4fe1\u7f8e\u597d\u7684\u4e8b\u60c5\u5373\u5c06\u53d1\u751f&#xff0c;\u575a\u6301\u5237\u9898\u3001\u6df1\u8015\u7ec6\u8282&#xff0c;\u4e0d\u614c\u4e0d\u5fd9&#xff0c;\u7a33\u6b65\u524d\u884c&#xff0c;\u7ec8\u4f1a\u5728\u7b97\u6cd5\u4e4b\u8def\u4e0a&#xff0c;\u9047\u89c1\u66f4\u597d\u7684\u81ea\u5df1&#xff01; <\/font><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/03\/20260301012446-69a3955e569cb.jpg\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>&#x1f525;\u5c0f\u9f99\u62a5&#xff1a;\u4e2a\u4eba\u4e3b\u9875 &#x1f3ac;\u4f5c\u8005\u7b80\u4ecb&#xff1a;C\u7814\u53d1&#xff0c;\u5d4c\u5165\u5f0f&#xff0c;\u673a\u5668\u4eba\u65b9\u5411\u5b66\u4e60\u8005 \u2744\ufe0f\u4e2a\u4eba\u4e13\u680f&#xff1a;\u300a\u7b97\u6cd5\u901a\u5173\u6307\u5357\u300b \u2728 \u6c38\u8fdc\u76f8\u4fe1\u7f8e\u597d\u7684\u4e8b\u60c5\u5373\u5c06\u53d1\u751f \u6587\u7ae0\u76ee\u5f55\u524d\u8a00\u4e00\u3001\u4e8c\u5206\u7b97\u6cd5\u4e8c\u3001\u5728\u6392\u5e8f\u6811\u7ec4\u4e2d\u67e5\u627e\u5143\u7d20\u7684\u7b2c\u4e00\u4e2a\u548c\u6700\u540e\u4e00\u4e2a\u4f4d\u7f6e2.1\u9898\u76ee2.2 \u7b97\u6cd5\u539f\u74062.3\u4ee3\u7801\u4e09\u3001\u725b\u53ef\u4e50\u548c\u9b54\u6cd5\u5c01\u53703.1\u9898\u76ee3.2 \u7b97\u6cd5\u539f\u74063.3\u4ee3\u7801\u603b\u7ed3\u4e0e\u6bcf\u65e5\u52b1\u5fd7\u524d\u8a00 \u672c\u4e13\u680f\u805a\u7126\u7b97\u6cd5\u9898\u5b9e\u6218&#xff0c;\u7cfb\u7edf\u8bb2\u89e3\u7b97\u6cd5\u6a21\u5757&amp;#xff1a<\/p>\n","protected":false},"author":2,"featured_media":79146,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[587,55,2865,3226,1813,427,2891],"topic":[],"class_list":["post-79151","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-587","tag-c","tag-2865","tag-3226","tag-1813","tag-427","tag-2891"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u3010\u7b97\u6cd5\u901a\u5173\u6307\u5357\uff1a\u7b97\u6cd5\u57fa\u7840\u7bc7\u3011\u4e8c\u5206\u7b97\u6cd5\uff1a1.\u5728\u6392\u5e8f\u6811\u7ec4\u4e2d\u67e5\u627e\u5143\u7d20\u7684\u7b2c\u4e00\u4e2a\u548c\u6700\u540e\u4e00\u4e2a\u4f4d\u7f6e 2.\u725b\u53ef\u4e50\u548c\u9b54\u6cd5\u5c01\u5370 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/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:\/\/www.wsisp.com\/helps\/79151.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u3010\u7b97\u6cd5\u901a\u5173\u6307\u5357\uff1a\u7b97\u6cd5\u57fa\u7840\u7bc7\u3011\u4e8c\u5206\u7b97\u6cd5\uff1a1.\u5728\u6392\u5e8f\u6811\u7ec4\u4e2d\u67e5\u627e\u5143\u7d20\u7684\u7b2c\u4e00\u4e2a\u548c\u6700\u540e\u4e00\u4e2a\u4f4d\u7f6e 2.\u725b\u53ef\u4e50\u548c\u9b54\u6cd5\u5c01\u5370 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"&#x1f525;\u5c0f\u9f99\u62a5&#xff1a;\u4e2a\u4eba\u4e3b\u9875 &#x1f3ac;\u4f5c\u8005\u7b80\u4ecb&#xff1a;C\u7814\u53d1&#xff0c;\u5d4c\u5165\u5f0f&#xff0c;\u673a\u5668\u4eba\u65b9\u5411\u5b66\u4e60\u8005 \u2744\ufe0f\u4e2a\u4eba\u4e13\u680f&#xff1a;\u300a\u7b97\u6cd5\u901a\u5173\u6307\u5357\u300b \u2728 \u6c38\u8fdc\u76f8\u4fe1\u7f8e\u597d\u7684\u4e8b\u60c5\u5373\u5c06\u53d1\u751f \u6587\u7ae0\u76ee\u5f55\u524d\u8a00\u4e00\u3001\u4e8c\u5206\u7b97\u6cd5\u4e8c\u3001\u5728\u6392\u5e8f\u6811\u7ec4\u4e2d\u67e5\u627e\u5143\u7d20\u7684\u7b2c\u4e00\u4e2a\u548c\u6700\u540e\u4e00\u4e2a\u4f4d\u7f6e2.1\u9898\u76ee2.2 \u7b97\u6cd5\u539f\u74062.3\u4ee3\u7801\u4e09\u3001\u725b\u53ef\u4e50\u548c\u9b54\u6cd5\u5c01\u53703.1\u9898\u76ee3.2 \u7b97\u6cd5\u539f\u74063.3\u4ee3\u7801\u603b\u7ed3\u4e0e\u6bcf\u65e5\u52b1\u5fd7\u524d\u8a00 \u672c\u4e13\u680f\u805a\u7126\u7b97\u6cd5\u9898\u5b9e\u6218&#xff0c;\u7cfb\u7edf\u8bb2\u89e3\u7b97\u6cd5\u6a21\u5757&amp;#xff1a\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/79151.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-03-01T01:24:47+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/03\/20260301012445-69a3955d07223.png\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\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\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/79151.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/79151.html\",\"name\":\"\u3010\u7b97\u6cd5\u901a\u5173\u6307\u5357\uff1a\u7b97\u6cd5\u57fa\u7840\u7bc7\u3011\u4e8c\u5206\u7b97\u6cd5\uff1a1.\u5728\u6392\u5e8f\u6811\u7ec4\u4e2d\u67e5\u627e\u5143\u7d20\u7684\u7b2c\u4e00\u4e2a\u548c\u6700\u540e\u4e00\u4e2a\u4f4d\u7f6e 2.\u725b\u53ef\u4e50\u548c\u9b54\u6cd5\u5c01\u5370 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-03-01T01:24:47+00:00\",\"dateModified\":\"2026-03-01T01:24:47+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/79151.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/79151.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/79151.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u3010\u7b97\u6cd5\u901a\u5173\u6307\u5357\uff1a\u7b97\u6cd5\u57fa\u7840\u7bc7\u3011\u4e8c\u5206\u7b97\u6cd5\uff1a1.\u5728\u6392\u5e8f\u6811\u7ec4\u4e2d\u67e5\u627e\u5143\u7d20\u7684\u7b2c\u4e00\u4e2a\u548c\u6700\u540e\u4e00\u4e2a\u4f4d\u7f6e 2.\u725b\u53ef\u4e50\u548c\u9b54\u6cd5\u5c01\u5370\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u3010\u7b97\u6cd5\u901a\u5173\u6307\u5357\uff1a\u7b97\u6cd5\u57fa\u7840\u7bc7\u3011\u4e8c\u5206\u7b97\u6cd5\uff1a1.\u5728\u6392\u5e8f\u6811\u7ec4\u4e2d\u67e5\u627e\u5143\u7d20\u7684\u7b2c\u4e00\u4e2a\u548c\u6700\u540e\u4e00\u4e2a\u4f4d\u7f6e 2.\u725b\u53ef\u4e50\u548c\u9b54\u6cd5\u5c01\u5370 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","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:\/\/www.wsisp.com\/helps\/79151.html","og_locale":"zh_CN","og_type":"article","og_title":"\u3010\u7b97\u6cd5\u901a\u5173\u6307\u5357\uff1a\u7b97\u6cd5\u57fa\u7840\u7bc7\u3011\u4e8c\u5206\u7b97\u6cd5\uff1a1.\u5728\u6392\u5e8f\u6811\u7ec4\u4e2d\u67e5\u627e\u5143\u7d20\u7684\u7b2c\u4e00\u4e2a\u548c\u6700\u540e\u4e00\u4e2a\u4f4d\u7f6e 2.\u725b\u53ef\u4e50\u548c\u9b54\u6cd5\u5c01\u5370 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"&#x1f525;\u5c0f\u9f99\u62a5&#xff1a;\u4e2a\u4eba\u4e3b\u9875 &#x1f3ac;\u4f5c\u8005\u7b80\u4ecb&#xff1a;C\u7814\u53d1&#xff0c;\u5d4c\u5165\u5f0f&#xff0c;\u673a\u5668\u4eba\u65b9\u5411\u5b66\u4e60\u8005 \u2744\ufe0f\u4e2a\u4eba\u4e13\u680f&#xff1a;\u300a\u7b97\u6cd5\u901a\u5173\u6307\u5357\u300b \u2728 \u6c38\u8fdc\u76f8\u4fe1\u7f8e\u597d\u7684\u4e8b\u60c5\u5373\u5c06\u53d1\u751f \u6587\u7ae0\u76ee\u5f55\u524d\u8a00\u4e00\u3001\u4e8c\u5206\u7b97\u6cd5\u4e8c\u3001\u5728\u6392\u5e8f\u6811\u7ec4\u4e2d\u67e5\u627e\u5143\u7d20\u7684\u7b2c\u4e00\u4e2a\u548c\u6700\u540e\u4e00\u4e2a\u4f4d\u7f6e2.1\u9898\u76ee2.2 \u7b97\u6cd5\u539f\u74062.3\u4ee3\u7801\u4e09\u3001\u725b\u53ef\u4e50\u548c\u9b54\u6cd5\u5c01\u53703.1\u9898\u76ee3.2 \u7b97\u6cd5\u539f\u74063.3\u4ee3\u7801\u603b\u7ed3\u4e0e\u6bcf\u65e5\u52b1\u5fd7\u524d\u8a00 \u672c\u4e13\u680f\u805a\u7126\u7b97\u6cd5\u9898\u5b9e\u6218&#xff0c;\u7cfb\u7edf\u8bb2\u89e3\u7b97\u6cd5\u6a21\u5757&amp;#xff1a","og_url":"https:\/\/www.wsisp.com\/helps\/79151.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-03-01T01:24:47+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/03\/20260301012445-69a3955d07223.png"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"2 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/79151.html","url":"https:\/\/www.wsisp.com\/helps\/79151.html","name":"\u3010\u7b97\u6cd5\u901a\u5173\u6307\u5357\uff1a\u7b97\u6cd5\u57fa\u7840\u7bc7\u3011\u4e8c\u5206\u7b97\u6cd5\uff1a1.\u5728\u6392\u5e8f\u6811\u7ec4\u4e2d\u67e5\u627e\u5143\u7d20\u7684\u7b2c\u4e00\u4e2a\u548c\u6700\u540e\u4e00\u4e2a\u4f4d\u7f6e 2.\u725b\u53ef\u4e50\u548c\u9b54\u6cd5\u5c01\u5370 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-03-01T01:24:47+00:00","dateModified":"2026-03-01T01:24:47+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/79151.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/79151.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/79151.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u3010\u7b97\u6cd5\u901a\u5173\u6307\u5357\uff1a\u7b97\u6cd5\u57fa\u7840\u7bc7\u3011\u4e8c\u5206\u7b97\u6cd5\uff1a1.\u5728\u6392\u5e8f\u6811\u7ec4\u4e2d\u67e5\u627e\u5143\u7d20\u7684\u7b2c\u4e00\u4e2a\u548c\u6700\u540e\u4e00\u4e2a\u4f4d\u7f6e 2.\u725b\u53ef\u4e50\u548c\u9b54\u6cd5\u5c01\u5370"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/79151","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=79151"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/79151\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/79146"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=79151"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=79151"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=79151"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=79151"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}