{"id":313078,"date":"2024-05-20T22:55:36","date_gmt":"2024-05-20T14:55:36","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/313078.html"},"modified":"2024-05-20T22:55:48","modified_gmt":"2024-05-20T14:55:48","slug":"c-%e8%af%ad%e8%a8%80%e6%80%8e%e4%b9%88%e6%b1%82%e6%9c%80%e5%a4%a7%e4%b8%8e%e6%9c%80%e5%b0%8f%e5%80%bc","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/313078.html","title":{"rendered":"c \u8bed\u8a00\u600e\u4e48\u6c42\u6700\u5927\u4e0e\u6700\u5c0f\u503c"},"content":{"rendered":"<p style=\"text-align:center\"><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/26233856\/617d08f8-456b-43ee-8543-87e589ad6b79.webp\" alt=\"c \u8bed\u8a00\u600e\u4e48\u6c42\u6700\u5927\u4e0e\u6700\u5c0f\u503c\" \/><\/p>\n<p><p><strong>C\u8bed\u8a00\u6c42\u6700\u5927\u4e0e\u6700\u5c0f\u503c<\/strong>\u53ef\u4ee5\u901a\u8fc7\u4e0d\u540c\u7684\u65b9\u6cd5\u5b9e\u73b0\uff0c\u5982\u4f7f\u7528\u5faa\u73af\u8bed\u53e5\u904d\u5386\u6570\u7ec4\u3001\u4f7f\u7528\u5206\u6cbb\u7b97\u6cd5\u3001\u5229\u7528\u6307\u9488\u3001\u8c03\u7528\u73b0\u6709\u51fd\u6570\u5e93\u7b49\u3002<strong>\u5728\u6570\u7ec4\u4e2d\u6c42\u6700\u5927\u6700\u5c0f\u503c\u901a\u5e38\u6d89\u53ca\u8bbe\u7f6e\u521d\u59cb\u6781\u503c\u540e\u904d\u5386\u6570\u7ec4\u5143\u7d20\u6765\u66f4\u65b0\u8fd9\u4e9b\u6781\u503c<\/strong>\u3002\u8fd9\u662f\u6700\u57fa\u672c\u4e5f\u662f\u6700\u76f4\u63a5\u7684\u65b9\u6cd5\uff0c\u7531\u4e8e\u5176\u7b80\u5355\u6027\uff0c\u901a\u5e38\u4f5c\u4e3a\u57fa\u7840\u6559\u5b66\u5185\u5bb9\u3002<\/p>\n<\/p>\n<p><p>\u5728\u8fd9\u4e00\u65b9\u6cd5\u4e2d\uff0c\u6211\u4eec\u9996\u5148\u5b9a\u4e49\u4e24\u4e2a\u53d8\u91cf\uff0c\u4e00\u4e2a\u7528\u4e8e\u5b58\u50a8\u6700\u5927\u503c\uff0c\u4e00\u4e2a\u7528\u4e8e\u5b58\u50a8\u6700\u5c0f\u503c\u3002\u521d\u59cb\u65f6\uff0c\u6211\u4eec\u53ef\u4ee5\u5c06\u6570\u7ec4\u7684\u7b2c\u4e00\u4e2a\u5143\u7d20\u65e2\u8bbe\u7f6e\u4e3a\u6700\u5927\u503c\u4e5f\u8bbe\u7f6e\u4e3a\u6700\u5c0f\u503c\u3002\u968f\u540e\u904d\u5386\u6570\u7ec4\u7684\u6240\u6709\u5143\u7d20\uff0c\u5e76\u4e0d\u65ad\u6bd4\u8f83\u5e76\u66f4\u65b0\u8fd9\u4e24\u4e2a\u53d8\u91cf\u3002\u5f53\u904d\u5386\u5b8c\u6bd5\u65f6\uff0c\u8fd9\u4e24\u4e2a\u53d8\u91cf\u5206\u522b\u5b58\u50a8\u4e86\u6574\u4e2a\u6570\u7ec4\u7684\u6700\u5927\u503c\u548c\u6700\u5c0f\u503c\u3002<\/p>\n<\/p>\n<p><h3>\u4e00\u3001\u8bbe\u7f6e\u521d\u59cb\u6781\u503c<\/h3>\n<\/p>\n<p><p>\u5728\u4e00\u4e2a\u6574\u6570\u6570\u7ec4\u4e2d\u5bfb\u627e\u6700\u5927\u548c\u6700\u5c0f\u503c\uff0c\u901a\u5e38\u9996\u5148\u8bbe\u7f6e\u4e24\u4e2a\u53d8\u91cf\u6765\u5206\u522b\u8bb0\u5f55\u5f53\u524d\u9047\u5230\u7684\u6700\u5927\u503c\u548c\u6700\u5c0f\u503c\u3002\u5728\u5f00\u59cb\u904d\u5386\u4e4b\u524d\uff0c\u6211\u4eec\u53ef\u4ee5\u5148\u5047\u8bbe\u6570\u7ec4\u7684\u7b2c\u4e00\u4e2a\u503c\u65e2\u662f\u6700\u5927\u503c\u4e5f\u662f\u6700\u5c0f\u503c\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-c\">int max = arr[0];<\/p>\n<p>int min = arr[0];<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u4e8c\u3001\u904d\u5386\u6570\u7ec4\u5143\u7d20<\/h3>\n<\/p>\n<p><p>\u63a5\u4e0b\u6765\uff0c\u6211\u4eec\u4f7f\u7528\u4e00\u4e2a\u5faa\u73af\u7ed3\u6784\u6765\u904d\u5386\u6570\u7ec4\u4e2d\u7684\u6bcf\u4e2a\u5143\u7d20\u3002\u5728\u904d\u5386\u8fc7\u7a0b\u4e2d\uff0c\u6211\u4eec\u5c06\u6bcf\u4e2a\u5143\u7d20\u5206\u522b\u4e0e\u5f53\u524d\u7684\u6700\u5927\u503c\u548c\u6700\u5c0f\u503c\u8fdb\u884c\u6bd4\u8f83\u3002<\/p>\n<\/p>\n<p><p>\u5bf9\u4e8e\u6700\u5927\u503c\uff0c\u5982\u679c\u9047\u5230\u66f4\u5927\u7684\u5143\u7d20\uff0c\u6211\u4eec\u5c31\u66f4\u65b0\u6700\u5927\u503c\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-c\">if(arr[i] &gt; max) {<\/p>\n<p>    max = arr[i];<\/p>\n<p>}<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5bf9\u4e8e\u6700\u5c0f\u503c\uff0c\u5982\u679c\u9047\u5230\u66f4\u5c0f\u7684\u5143\u7d20\uff0c\u6211\u4eec\u5c31\u66f4\u65b0\u6700\u5c0f\u503c\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-c\">if(arr[i] &lt; min) {<\/p>\n<p>    min = arr[i];<\/p>\n<p>}<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u4e09\u3001\u5229\u7528\u5206\u6cbb\u7b97\u6cd5<\/h3>\n<\/p>\n<p><p>\u5206\u6cbb\u7b97\u6cd5\u662f\u53e6\u4e00\u79cd\u5bfb\u627e\u6700\u5927\u503c\u548c\u6700\u5c0f\u503c\u7684\u6709\u6548\u65b9\u6cd5\u3002<strong>\u5206\u6cbb\u7b97\u6cd5\u7684\u57fa\u672c\u601d\u60f3\u662f\u5c06\u95ee\u9898\u5206\u89e3\u4e3a\u4e00\u4e9b\u5c0f\u7684\u95ee\u9898\u7136\u540e\u9012\u5f52\u6c42\u89e3\uff0c<\/strong> \u800c\u5bf9\u4e8e\u8fd9\u4e9b\u5c0f\u95ee\u9898\uff0c\u53c8\u53ef\u4ee5\u4ee5\u540c\u6837\u7684\u65b9\u5f0f\u5206\u89e3\u5e76\u6c42\u89e3\u76f4\u81f3\u53ef\u76f4\u63a5\u6c42\u89e3\u3002\u5bf9\u4e8e\u6700\u5927\u503c\u548c\u6700\u5c0f\u503c\u7684\u67e5\u627e\uff0c\u6211\u4eec\u53ef\u4ee5\u5c06\u6570\u7ec4\u5206\u4e3a\u4e24\u90e8\u5206\uff0c\u5206\u522b\u67e5\u627e\u4e24\u90e8\u5206\u7684\u6700\u5927\u503c\u548c\u6700\u5c0f\u503c\uff0c\u7136\u540e\u518d\u5c06\u7ed3\u679c\u5408\u5e76\u5f97\u5230\u6574\u4e2a\u6570\u7ec4\u7684\u6700\u5927\u503c\u548c\u6700\u5c0f\u503c\u3002<\/p>\n<\/p>\n<p><h3>\u56db\u3001\u4f7f\u7528\u6307\u9488<\/h3>\n<\/p>\n<p><p>\u5728C\u8bed\u8a00\u4e2d\uff0c<strong>\u6307\u9488\u53ef\u4ee5\u88ab\u7528\u6765\u63d0\u9ad8\u7a0b\u5e8f\u7684\u6548\u7387\uff0c<\/strong> \u7279\u522b\u662f\u5728\u5904\u7406\u5927\u578b\u6570\u7ec4\u65f6\u3002\u6211\u4eec\u53ef\u4ee5\u4f7f\u7528\u6307\u9488\u53d8\u91cf\u6765\u904d\u5386\u6570\u7ec4\uff0c\u540c\u65f6\u6307\u9488\u4e5f\u8ba9\u6211\u4eec\u5f97\u4ee5\u76f4\u63a5\u8bbf\u95ee\u548c\u4fee\u6539\u5185\u5b58\u5730\u5740\u4e2d\u7684\u503c\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-c\">int *ptr = arr;<\/p>\n<p>for(int i = 0; i &lt; length; i++) {<\/p>\n<p>    if(*ptr &gt; max) max = *ptr;<\/p>\n<p>    if(*ptr &lt; min) min = *ptr;<\/p>\n<p>    ptr++;<\/p>\n<p>}<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u4e94\u3001\u4f7f\u7528\u51fd\u6570\u5e93<\/h3>\n<\/p>\n<p><p>C\u6807\u51c6\u5e93\u4e2d\uff0c\u5e76\u6ca1\u6709\u76f4\u63a5\u63d0\u4f9b\u67e5\u8be2\u6700\u5927\u6700\u5c0f\u503c\u7684\u51fd\u6570\uff0c\u4f46\u662f\u6211\u4eec\u53ef\u4ee5\u81ea\u5df1\u7f16\u5199\u51fd\u6570\u6765\u590d\u7528\u67e5\u627e\u6700\u5927\u6700\u5c0f\u503c\u7684\u903b\u8f91\u3002\u901a\u5e38\uff0c\u6211\u4eec\u53ef\u4ee5\u5b9a\u4e49\u4e00\u4e2a\u51fd\u6570\uff0c\u5c06\u6570\u7ec4\u53ca\u5176\u957f\u5ea6\u4f5c\u4e3a\u53c2\u6570\u4f20\u9012\u8fdb\u53bb\uff0c\u8fd4\u56de\u4e00\u4e2a\u7ed3\u6784\u4f53\uff0c\u5176\u4e2d\u5305\u542b\u4e86\u6700\u5927\u503c\u548c\u6700\u5c0f\u503c\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-c\">typedef struct {<\/p>\n<p>    int max;<\/p>\n<p>    int min;<\/p>\n<p>} MinMax;<\/p>\n<p>MinMax findMinMax(int *arr, int length) {<\/p>\n<p>    MinMax result;<\/p>\n<p>    result.max = arr[0];<\/p>\n<p>    result.min = arr[0];<\/p>\n<p>    for(int i = 1; i &lt; length; i++) {<\/p>\n<p>        if(arr[i] &gt; result.max) result.max = arr[i];<\/p>\n<p>        if(arr[i] &lt; result.min) result.min = arr[i];<\/p>\n<p>    }<\/p>\n<p>    return result;<\/p>\n<p>}<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u516d\u3001\u8003\u8651\u7279\u6b8a\u60c5\u51b5<\/h3>\n<\/p>\n<p><p>\u5728\u5b9e\u9645\u7684\u7a0b\u5e8f\u4e2d\uff0c\u6211\u4eec\u8fd8\u9700\u8981\u8003\u8651\u4e00\u4e9b\u7279\u6b8a\u60c5\u51b5\uff0c\u6bd4\u5982\u7a7a\u6570\u7ec4\u6216\u8005\u975e\u5e38\u5927\u7684\u6570\u636e\u96c6\u3002<strong>\u786e\u4fdd\u51fd\u6570\u80fd\u591f\u6b63\u786e\u5904\u7406\u5f02\u5e38\u60c5\u51b5\u662f\u5199\u51fa\u5065\u58ee\u4ee3\u7801\u7684\u91cd\u8981\u4e00\u73af<\/strong>\u3002\u5bf9\u4e8e\u7a7a\u6570\u7ec4\uff0c\u6211\u4eec\u53ef\u4ee5\u5148\u5224\u65ad\u6570\u7ec4\u957f\u5ea6\uff0c\u5982\u679c\u4e3a0\uff0c\u5219\u53ef\u4ee5\u76f4\u63a5\u8fd4\u56de\u9519\u8bef\u4fe1\u606f\u6216\u8005\u7279\u5b9a\u7684\u503c\u8868\u793a\u6570\u7ec4\u4e3a\u7a7a\u3002<\/p>\n<\/p>\n<p><h3>\u4e03\u3001\u63d0\u5347\u7b97\u6cd5\u6548\u7387<\/h3>\n<\/p>\n<p><p>\u5c3d\u7ba1\u4f7f\u7528\u57fa\u672c\u7684\u904d\u5386\u65b9\u6cd5\u5c31\u80fd\u5f97\u5230\u6700\u5927\u503c\u548c\u6700\u5c0f\u503c\uff0c\u4f46\u5728\u9762\u5bf9\u5927\u6570\u636e\u96c6\u65f6\uff0c\u6211\u4eec\u53ef\u80fd\u9700\u8981\u8003\u8651\u66f4\u9ad8\u6548\u7684\u7b97\u6cd5\u3002\u9664\u4e86\u5206\u6cbb\u6cd5\uff0c\u8fd8\u53ef\u4ee5\u8003\u8651\u5176\u4ed6\u7b97\u6cd5\u4f18\u5316\u65b9\u6cd5\uff0c\u4f8b\u5982\u5229\u7528\u5e76\u884c\u7b97\u6cd5\u5728\u591a\u6838\u5904\u7406\u5668\u4e0a\u540c\u65f6\u6267\u884c\u591a\u4e2a\u904d\u5386\u4efb\u52a1\uff0c\u6216\u8005\u4f7f\u7528SIMD\uff08\u5355\u6307\u4ee4\u591a\u6570\u636e\uff09\u6280\u672f\u6765\u8fdb\u884c\u5411\u91cf\u5316\u8ba1\u7b97\u3002<\/p>\n<\/p>\n<p><p>\u5728\u7f16\u7a0b\u65f6\uff0c\u5bfb\u6c42\u7b97\u6cd5\u7684\u6548\u7387\u5f80\u5f80\u540c\u6837\u91cd\u8981\u3002\u7b97\u6cd5\u7684\u65f6\u95f4\u590d\u6742\u5ea6\u548c\u7a7a\u95f4\u590d\u6742\u5ea6\u662f\u8861\u91cf\u7b97\u6cd5\u597d\u574f\u7684\u4e24\u4e2a\u6807\u51c6\u3002\u5728\u786e\u5b9a\u6700\u5927\u503c\u548c\u6700\u5c0f\u503c\u65f6\uff0c\u6211\u4eec\u5e0c\u671b\u5728\u5c3d\u53ef\u80fd\u5c11\u7684\u6bd4\u8f83\u6b21\u6570\u4e0b\u5b8c\u6210\u4efb\u52a1\u3002<\/p>\n<\/p>\n<p><h3>\u516b\u3001\u603b\u7ed3<\/h3>\n<\/p>\n<p><p>C\u8bed\u8a00\u4e2d\u6c42\u6700\u5927\u4e0e\u6700\u5c0f\u503c\u662f\u4e00\u4e2a\u975e\u5e38\u7ecf\u5178\u7684\u95ee\u9898\uff0c\u901a\u8fc7\u8bbe\u7f6e\u521d\u59cb\u6781\u503c\u5e76\u6bd4\u8f83\u66f4\u65b0\u6765\u83b7\u5f97\uff0c\u65b9\u6cd5\u7b80\u5355\u6613\u61c2\u3002\u5b66\u4e60\u5404\u79cd\u4e0d\u540c\u7684\u7b97\u6cd5\u6765\u89e3\u51b3\u8fd9\u4e2a\u95ee\u9898\u6709\u52a9\u4e8e\u52a0\u6df1\u5bf9C\u8bed\u8a00\u7a0b\u5e8f\u8bbe\u8ba1\u7684\u7406\u89e3\uff0c\u540c\u65f6\u4e5f\u4e3a\u5904\u7406\u66f4\u590d\u6742\u7684\u6570\u636e\u95ee\u9898\u5960\u5b9a\u57fa\u7840\u3002\u59cb\u7ec8\u4fdd\u6301\u5bf9\u7279\u6b8a\u60c5\u51b5\u7684\u8b66\u89c9\u548c\u5bf9\u7b97\u6cd5\u6548\u7387\u7684\u5173\u6ce8\uff0c\u662f\u7f16\u7a0b\u8fc7\u7a0b\u4e2d\u4e0d\u53ef\u5ffd\u89c6\u7684\u4e00\u90e8\u5206\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p><strong>1. C\u8bed\u8a00\u5982\u4f55\u627e\u5230\u6570\u7ec4\u4e2d\u7684\u6700\u5927\u503c\u4e0e\u6700\u5c0f\u503c\uff1f<\/strong><br \/>\n\u5728C\u8bed\u8a00\u4e2d\uff0c\u53ef\u4ee5\u4f7f\u7528\u5faa\u73af\u548c\u6761\u4ef6\u5224\u65ad\u8bed\u53e5\u6765\u627e\u5230\u6570\u7ec4\u4e2d\u7684\u6700\u5927\u503c\u548c\u6700\u5c0f\u503c\u3002\u53ef\u4ee5\u5148\u5c06\u6570\u7ec4\u4e2d\u7684\u7b2c\u4e00\u4e2a\u5143\u7d20\u4f5c\u4e3a\u6700\u5927\u503c\u548c\u6700\u5c0f\u503c\u7684\u521d\u59cb\u503c\uff0c\u7136\u540e\u901a\u8fc7\u5faa\u73af\u904d\u5386\u6570\u7ec4\u4e2d\u7684\u6bcf\u4e2a\u5143\u7d20\uff0c\u6bd4\u8f83\u5176\u4e0e\u5f53\u524d\u6700\u5927\u503c\u548c\u6700\u5c0f\u503c\u7684\u5927\u5c0f\uff0c\u5982\u679c\u627e\u5230\u66f4\u5927\u7684\u6570\uff0c\u5219\u66f4\u65b0\u6700\u5927\u503c\uff0c\u5982\u679c\u627e\u5230\u66f4\u5c0f\u7684\u6570\uff0c\u5219\u66f4\u65b0\u6700\u5c0f\u503c\u3002<\/p>\n<p><strong>2. \u5982\u4f55\u5728C\u8bed\u8a00\u4e2d\u6c42\u51fa\u4e00\u7ec4\u6570\u636e\u7684\u6700\u5927\u503c\u548c\u6700\u5c0f\u503c\u4e4b\u5dee\uff1f<\/strong><br \/>\n\u8981\u8ba1\u7b97\u4e00\u7ec4\u6570\u636e\u7684\u6700\u5927\u503c\u548c\u6700\u5c0f\u503c\u4e4b\u5dee\uff0c\u53ef\u4ee5\u5148\u627e\u5230\u8fd9\u7ec4\u6570\u636e\u4e2d\u7684\u6700\u5927\u503c\u548c\u6700\u5c0f\u503c\uff0c\u7136\u540e\u7528\u6700\u5927\u503c\u51cf\u53bb\u6700\u5c0f\u503c\u5373\u53ef\u5f97\u5230\u5dee\u503c\u3002\u53ef\u4ee5\u4f7f\u7528\u7c7b\u4f3c\u4e8e\u4e0a\u8ff0\u7684\u5faa\u73af\u548c\u6761\u4ef6\u5224\u65ad\u8bed\u53e5\u7684\u65b9\u6cd5\u6765\u627e\u5230\u6700\u5927\u503c\u548c\u6700\u5c0f\u503c\uff0c\u5e76\u901a\u8fc7\u7b80\u5355\u7684\u6570\u5b66\u8fd0\u7b97\u6c42\u5f97\u5dee\u503c\u3002<\/p>\n<p><strong>3. \u6211\u5e94\u8be5\u5982\u4f55\u5904\u7406\u5728C\u8bed\u8a00\u4e2d\u8ba1\u7b97\u6700\u5927\u503c\u548c\u6700\u5c0f\u503c\u65f6\u9047\u5230\u7684\u7279\u6b8a\u60c5\u51b5\uff1f<\/strong><br \/>\n\u5728\u5904\u7406\u6700\u5927\u503c\u548c\u6700\u5c0f\u503c\u65f6\uff0c\u53ef\u80fd\u4f1a\u9047\u5230\u4e00\u4e9b\u7279\u6b8a\u60c5\u51b5\uff0c\u6bd4\u5982\u6570\u7ec4\u4e3a\u7a7a\u6216\u53ea\u6709\u4e00\u4e2a\u5143\u7d20\u7684\u60c5\u51b5\u3002\u4e3a\u4e86\u9632\u6b62\u51fa\u73b0\u9519\u8bef\uff0c\u53ef\u4ee5\u5728\u8ba1\u7b97\u524d\u5148\u8fdb\u884c\u5224\u65ad\uff0c\u5e76\u5728\u9700\u8981\u65f6\u8bbe\u7f6e\u9ed8\u8ba4\u503c\u6216\u8fd4\u56de\u9519\u8bef\u63d0\u793a\u3002\u4f8b\u5982\u5728\u5904\u7406\u7a7a\u6570\u7ec4\u65f6\uff0c\u53ef\u4ee5\u8bbe\u7f6e\u6700\u5927\u503c\u548c\u6700\u5c0f\u503c\u4e3a\u67d0\u4e2a\u7279\u5b9a\u7684\u503c\uff0c\u6216\u8005\u8fd4\u56de\u4e00\u4e2a\u9519\u8bef\u4ee3\u7801\u6765\u8bf4\u660e\u6570\u7ec4\u4e3a\u7a7a\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"C\u8bed\u8a00\u6c42\u6700\u5927\u4e0e\u6700\u5c0f\u503c\u53ef\u4ee5\u901a\u8fc7\u4e0d\u540c\u7684\u65b9\u6cd5\u5b9e\u73b0\uff0c\u5982\u4f7f\u7528\u5faa\u73af\u8bed\u53e5\u904d\u5386\u6570\u7ec4\u3001\u4f7f\u7528\u5206\u6cbb\u7b97\u6cd5\u3001\u5229\u7528\u6307\u9488\u3001\u8c03\u7528\u73b0\u6709\u51fd\u6570\u5e93\u7b49\u3002 [&hellip;]","protected":false},"author":3,"featured_media":313099,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[37],"tags":[],"acf":[],"_links":{"self":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/313078"}],"collection":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/comments?post=313078"}],"version-history":[{"count":0,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/313078\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/313099"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=313078"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=313078"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=313078"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}