{"id":76992,"date":"2026-02-23T18:43:47","date_gmt":"2026-02-23T10:43:47","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/76992.html"},"modified":"2026-02-23T18:43:47","modified_gmt":"2026-02-23T10:43:47","slug":"2%e6%9c%8823%e6%97%a5%ef%bc%8897-99%e9%a2%98%ef%bc%89","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/76992.html","title":{"rendered":"2\u670823\u65e5\uff0897-99\u9898\uff09"},"content":{"rendered":"<h3>97.\u56de\u6587\u65702<\/h3>\n<h4>\u9898\u76ee\u63cf\u8ff0<\/h4>\n<p>\u660e\u660e\u7684\u95ee\u9898\u53ef\u4ee5\u5f52\u7ed3\u4e3a&#xff1a;\u7ed9\u4f60\u4e00\u4e2a\u6574\u6570&#xff08;\u5341\u8fdb\u5236&#xff09;&#xff0c;\u5224\u65ad\u8be5\u6574\u6570\u7684\u5341\u8fdb\u5236\u6570\u548c\u5b83\u7684\u4e8c\u8fdb\u5236\u6570\u662f\u5426\u5168\u4e3a\u56de\u6587\u6570\u3002<\/p>\n<h4>\u4ee3\u7801<\/h4>\n<p><span class=\"token macro property\"><span class=\"token directive-hash\">#<\/span><span class=\"token directive keyword\">include<\/span> <span class=\"token string\">&lt;iostream&gt;<\/span><\/span><br \/>\n<span class=\"token macro property\"><span class=\"token directive-hash\">#<\/span><span class=\"token directive keyword\">include<\/span> <span class=\"token string\">&lt;string&gt;<\/span><\/span><br \/>\n<span class=\"token macro property\"><span class=\"token directive-hash\">#<\/span><span class=\"token directive keyword\">include<\/span> <span class=\"token string\">&lt;algorithm&gt;<\/span><\/span><\/p>\n<p><span class=\"token keyword\">using<\/span> <span class=\"token keyword\">namespace<\/span> std<span class=\"token punctuation\">;<\/span><\/p>\n<p><span class=\"token comment\">\/\/\u5224\u65ad\u4e00\u4e2a\u5b57\u7b26\u4e32\u662f\u5426\u4e3a\u56de\u6587<\/span><br \/>\n<span class=\"token keyword\">bool<\/span> <span class=\"token function\">isPalindrome<\/span><span class=\"token punctuation\">(<\/span><span class=\"token keyword\">const<\/span> string<span class=\"token operator\">&amp;<\/span> s<span class=\"token punctuation\">)<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n    <span class=\"token keyword\">int<\/span> left <span class=\"token operator\">&#061;<\/span> <span class=\"token number\">0<\/span><span class=\"token punctuation\">;<\/span><br \/>\n    <span class=\"token keyword\">int<\/span> right <span class=\"token operator\">&#061;<\/span> s<span class=\"token punctuation\">.<\/span><span class=\"token function\">length<\/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> <span class=\"token punctuation\">{<\/span><br \/>\n        <span class=\"token keyword\">if<\/span> <span class=\"token punctuation\">(<\/span>s<span class=\"token punctuation\">[<\/span>left<span class=\"token punctuation\">]<\/span> <span class=\"token operator\">!&#061;<\/span> s<span class=\"token punctuation\">[<\/span>right<span class=\"token punctuation\">]<\/span><span class=\"token punctuation\">)<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n            <span class=\"token keyword\">return<\/span> <span class=\"token boolean\">false<\/span><span class=\"token punctuation\">;<\/span> <span class=\"token comment\">\/\/ \u53d1\u73b0\u4e0d\u5bf9\u79f0\u7684\u5b57\u7b26&#xff0c;\u4e0d\u662f\u56de\u6587<\/span><br \/>\n        <span class=\"token punctuation\">}<\/span><br \/>\n        left<span class=\"token operator\">&#043;&#043;<\/span><span class=\"token punctuation\">;<\/span><br \/>\n        right<span class=\"token operator\">&#8212;<\/span><span class=\"token punctuation\">;<\/span><br \/>\n    <span class=\"token punctuation\">}<\/span><br \/>\n    <span class=\"token keyword\">return<\/span> <span class=\"token boolean\">true<\/span><span class=\"token punctuation\">;<\/span> <span class=\"token comment\">\/\/ \u6240\u6709\u5b57\u7b26\u90fd\u5bf9\u79f0&#xff0c;\u662f\u56de\u6587<\/span><br \/>\n<span class=\"token punctuation\">}<\/span><\/p>\n<p><span class=\"token comment\">\/\/ \u5c06\u5341\u8fdb\u5236\u6574\u6570\u8f6c\u6362\u4e3a\u4e8c\u8fdb\u5236\u5b57\u7b26\u4e32<\/span><br \/>\nstring <span class=\"token function\">toBinaryString<\/span><span class=\"token punctuation\">(<\/span><span class=\"token keyword\">int<\/span> n<span class=\"token punctuation\">)<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n    <span class=\"token keyword\">if<\/span> <span class=\"token punctuation\">(<\/span>n <span class=\"token operator\">&#061;&#061;<\/span> <span class=\"token number\">0<\/span><span class=\"token punctuation\">)<\/span> <span class=\"token keyword\">return<\/span> <span class=\"token string\">&#034;0&#034;<\/span><span class=\"token punctuation\">;<\/span> <\/p>\n<p>    string bin <span class=\"token operator\">&#061;<\/span> <span class=\"token string\">&#034;&#034;<\/span><span class=\"token punctuation\">;<\/span><br \/>\n    <span class=\"token keyword\">while<\/span> <span class=\"token punctuation\">(<\/span>n <span class=\"token operator\">&gt;<\/span> <span class=\"token number\">0<\/span><span class=\"token punctuation\">)<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n        bin <span class=\"token operator\">&#043;&#061;<\/span> <span class=\"token punctuation\">(<\/span>n <span class=\"token operator\">%<\/span> <span class=\"token number\">2<\/span> <span class=\"token operator\">&#061;&#061;<\/span> <span class=\"token number\">0<\/span> <span class=\"token operator\">?<\/span> <span class=\"token char\">&#039;0&#039;<\/span> <span class=\"token operator\">:<\/span> <span class=\"token char\">&#039;1&#039;<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span> <span class=\"token comment\">\/\/ \u53d6\u4f59\u6570\u62fc\u63a5<\/span><br \/>\n        n <span class=\"token operator\">\/&#061;<\/span> <span class=\"token number\">2<\/span><span class=\"token punctuation\">;<\/span><br \/>\n    <span class=\"token punctuation\">}<\/span><br \/>\n    <span class=\"token comment\">\/\/ \u96642\u53d6\u4f59\u6cd5\u5f97\u5230\u7684\u987a\u5e8f\u662f\u53cd\u7684&#xff0c;\u9700\u8981\u7ffb\u8f6c\u8fc7\u6765<\/span><br \/>\n    <span class=\"token function\">reverse<\/span><span class=\"token punctuation\">(<\/span>bin<span class=\"token punctuation\">.<\/span><span class=\"token function\">begin<\/span><span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">,<\/span> bin<span class=\"token punctuation\">.<\/span><span class=\"token function\">end<\/span><span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><br \/>\n    <span class=\"token keyword\">return<\/span> bin<span class=\"token punctuation\">;<\/span><br \/>\n<span class=\"token punctuation\">}<\/span><\/p>\n<p><span class=\"token keyword\">int<\/span> <span class=\"token function\">main<\/span><span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span> <span class=\"token punctuation\">{<\/span><\/p>\n<p>    <span class=\"token keyword\">int<\/span> n<span class=\"token punctuation\">;<\/span><br \/>\n    <span class=\"token keyword\">while<\/span> <span class=\"token punctuation\">(<\/span>cin <span class=\"token operator\">&gt;&gt;<\/span> n<span class=\"token punctuation\">)<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n        string decStr <span class=\"token operator\">&#061;<\/span> <span class=\"token function\">to_string<\/span><span class=\"token punctuation\">(<\/span>n<span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span>      <span class=\"token comment\">\/\/ \u5341\u8fdb\u5236\u5f62\u5f0f<\/span><br \/>\n        string binStr <span class=\"token operator\">&#061;<\/span> <span class=\"token function\">toBinaryString<\/span><span class=\"token punctuation\">(<\/span>n<span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span> <span class=\"token comment\">\/\/ \u4e8c\u8fdb\u5236\u5f62\u5f0f<\/span><\/p>\n<p>        <span class=\"token comment\">\/\/ \u5224\u65ad\u662f\u5426\u540c\u65f6\u6ee1\u8db3\u53cc\u56de\u6587\u6761\u4ef6<\/span><br \/>\n        <span class=\"token keyword\">if<\/span> <span class=\"token punctuation\">(<\/span><span class=\"token function\">isPalindrome<\/span><span class=\"token punctuation\">(<\/span>decStr<span class=\"token punctuation\">)<\/span> <span class=\"token operator\">&amp;&amp;<\/span> <span class=\"token function\">isPalindrome<\/span><span class=\"token punctuation\">(<\/span>binStr<span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">)<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n            cout <span class=\"token operator\">&lt;&lt;<\/span> <span class=\"token string\">&#034;Yes\\\\n&#034;<\/span><span class=\"token punctuation\">;<\/span><br \/>\n        <span class=\"token punctuation\">}<\/span> <span class=\"token keyword\">else<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n            cout <span class=\"token operator\">&lt;&lt;<\/span> <span class=\"token string\">&#034;No\\\\n&#034;<\/span><span class=\"token punctuation\">;<\/span><br \/>\n        <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<h4>\u603b\u7ed3<\/h4>\n<p>\u8f6c\u4e3a\u5341\u8fdb\u5236\u5b57\u7b26\u4e32&#xff1a;\u53ef\u4ee5\u76f4\u63a5\u4f7f\u7528 C&#043;&#043; \u6807\u51c6\u5e93\u4e2d\u7684 to_string(n) \u51fd\u6570&#xff0c;\u5c06\u6574\u6570\u8f6c\u6362\u4e3a\u5341\u8fdb\u5236\u5b57\u7b26\u4e32\u3002<\/p>\n<p>\u8f6c\u4e3a\u4e8c\u8fdb\u5236\u5b57\u7b26\u4e32&#xff1a;\u901a\u8fc7\u7ecf\u5178\u7684\u201c\u9664 2 \u53d6\u4f59\u201d\u6cd5&#xff0c;\u5c06\u6574\u6570\u4e0d\u65ad\u9664\u4ee5 2 \u5e76\u8bb0\u5f55\u4f59\u6570&#xff0c;\u6700\u540e\u5c06\u5f97\u5230\u7684\u5b57\u7b26\u5e8f\u5217\u53cd\u8f6c\u5373\u53ef\u5f97\u5230\u6b63\u786e\u7684\u4e8c\u8fdb\u5236\u5b57\u7b26\u4e32&#xff08;\u6ce8\u610f\u7279\u5224 n &#061; 0 \u7684\u60c5\u51b5&#xff09;\u3002<\/p>\n<p>\u56de\u6587\u5224\u65ad&#xff1a;\u7f16\u5199\u4e00\u4e2a\u53cc\u6307\u9488\u51fd\u6570&#xff0c;\u4ece\u5b57\u7b26\u4e32\u7684\u5934\u548c\u5c3e\u540c\u65f6\u5411\u4e2d\u95f4\u904d\u5386\u3002\u5982\u679c\u9047\u5230\u4e0d\u76f8\u7b49\u7684\u5b57\u7b26\u5219\u4e0d\u662f\u56de\u6587&#xff1b;\u5982\u679c\u987a\u5229\u76f8\u9047\u5219\u662f\u56de\u6587\u3002<\/p>\n<hr \/>\n<h3>98.\u6700\u957f\u7684\u5355\u8bcd<\/h3>\n<p>\u7ed9\u4f60\u4e00\u4e32\u6b63\u6574\u6570\u7684\u8fde\u52a0\u8868\u8fbe\u5f0f&#xff0c;\u5b8c\u6210\u8fd9\u4e2a\u8868\u8fbe\u5f0f\u7684\u8ba1\u7b97\u3002<\/p>\n<h4>\u4ee3\u7801<\/h4>\n<p><span class=\"token macro property\"><span class=\"token directive-hash\">#<\/span><span class=\"token directive keyword\">include<\/span> <span class=\"token string\">&lt;iostream&gt;<\/span><\/span><br \/>\n<span class=\"token macro property\"><span class=\"token directive-hash\">#<\/span><span class=\"token directive keyword\">include<\/span> <span class=\"token string\">&lt;string&gt;<\/span><\/span><br \/>\n<span class=\"token macro property\"><span class=\"token directive-hash\">#<\/span><span class=\"token directive keyword\">include<\/span> <span class=\"token string\">&lt;sstream&gt;<\/span><\/span><\/p>\n<p><span class=\"token keyword\">using<\/span> <span class=\"token keyword\">namespace<\/span> std<span class=\"token punctuation\">;<\/span><\/p>\n<p><span class=\"token keyword\">int<\/span> <span class=\"token function\">main<\/span><span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n    string line<span class=\"token punctuation\">;<\/span><br \/>\n    <span class=\"token comment\">\/\/ \u9010\u884c\u8bfb\u53d6<\/span><br \/>\n    <span class=\"token keyword\">while<\/span> <span class=\"token punctuation\">(<\/span><span class=\"token function\">getline<\/span><span class=\"token punctuation\">(<\/span>cin<span class=\"token punctuation\">,<\/span> line<span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">)<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n        <span class=\"token keyword\">if<\/span> <span class=\"token punctuation\">(<\/span>line<span class=\"token punctuation\">.<\/span><span class=\"token function\">empty<\/span><span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">)<\/span> <span class=\"token keyword\">continue<\/span><span class=\"token punctuation\">;<\/span><\/p>\n<p>        stringstream <span class=\"token function\">ss<\/span><span class=\"token punctuation\">(<\/span>line<span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><br \/>\n        <span class=\"token keyword\">long<\/span> <span class=\"token keyword\">long<\/span> sum <span class=\"token operator\">&#061;<\/span> <span class=\"token number\">0<\/span><span class=\"token punctuation\">;<\/span><br \/>\n        <span class=\"token keyword\">int<\/span> num<span class=\"token punctuation\">;<\/span><br \/>\n        <span class=\"token keyword\">char<\/span> plus<span class=\"token punctuation\">;<\/span><\/p>\n<p>        <span class=\"token comment\">\/\/ \u9996\u5148\u8bfb\u53d6\u7b2c\u4e00\u4e2a\u6570\u5b57<\/span><br \/>\n        ss <span class=\"token operator\">&gt;&gt;<\/span> num<span class=\"token punctuation\">;<\/span><br \/>\n        sum <span class=\"token operator\">&#043;&#061;<\/span> num<span class=\"token punctuation\">;<\/span><\/p>\n<p>        <span class=\"token comment\">\/\/ \u7136\u540e\u5faa\u73af\u8bfb\u53d6 &#034;&#043;\u6570\u5b57&#034;<\/span><br \/>\n        <span class=\"token keyword\">while<\/span> <span class=\"token punctuation\">(<\/span>ss <span class=\"token operator\">&gt;&gt;<\/span> plus <span class=\"token operator\">&gt;&gt;<\/span> num<span class=\"token punctuation\">)<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n            sum <span class=\"token operator\">&#043;&#061;<\/span> num<span class=\"token punctuation\">;<\/span><br \/>\n        <span class=\"token punctuation\">}<\/span><\/p>\n<p>        cout <span class=\"token operator\">&lt;&lt;<\/span> sum <span class=\"token operator\">&lt;&lt;<\/span> endl<span class=\"token punctuation\">;<\/span><br \/>\n    <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 punctuation\">}<\/span><\/p>\n<h4>\u603b\u7ed3<\/h4>\n<p>\u200b \u4e0d\u9700\u8981\u53bb\u624b\u52a8\u8ba1\u7b97 &#043; \u5728\u54ea\u4e2a\u4f4d\u7f6e&#xff0c;\u4e5f\u4e0d\u9700\u8981\u7528 substr \u53bb\u5207\u5206\u5b57\u7b26\u4e32\u3002\u53ea\u662f\u628a\u52a0\u53f7\u5f53\u6210\u4e86\u8f93\u5165\u5224\u522b\u4e4b\u4e00\u3002<\/p>\n<hr \/>\n<h3>99.\u6784\u9020\u5e8f\u5217<\/h3>\n<h4>\u9898\u76ee\u63cf\u8ff0<\/h4>\n<p>\u6839\u636e\u9898\u76ee\u63cf\u8ff0\u4e2d\u6240\u63cf\u8ff0\u7684\u5e8f\u5217\u4ea7\u751f\u89c4\u5219\u6784\u9020\u5e8f\u5217\u7684\u524d9\u9879&#xff0c;\u7136\u540e\u544a\u8bc9\u4f60\u4e00\u4e2a\u6b63\u6574\u6570n&#xff0c;\u8981\u6c42\u4f60\u8f93\u51fa\u5e8f\u5217\u7684\u7b2cn\u9879\u3002<\/p>\n<h4>\u4ee3\u7801<\/h4>\n<p><span class=\"token macro property\"><span class=\"token directive-hash\">#<\/span><span class=\"token directive keyword\">include<\/span> <span class=\"token string\">&lt;iostream&gt;<\/span><\/span><br \/>\n<span class=\"token macro property\"><span class=\"token directive-hash\">#<\/span><span class=\"token directive keyword\">include<\/span> <span class=\"token string\">&lt;string&gt;<\/span><\/span><br \/>\n<span class=\"token macro property\"><span class=\"token directive-hash\">#<\/span><span class=\"token directive keyword\">include<\/span> <span class=\"token string\">&lt;vector&gt;<\/span><\/span><\/p>\n<p><span class=\"token keyword\">using<\/span> <span class=\"token keyword\">namespace<\/span> std<span class=\"token punctuation\">;<\/span><\/p>\n<p><span class=\"token comment\">\/\/ \u751f\u6210\u7b2c n \u8f6e\u7684\u5e8f\u5217<\/span><br \/>\nstring <span class=\"token function\">solve<\/span><span class=\"token punctuation\">(<\/span><span class=\"token keyword\">int<\/span> n<span class=\"token punctuation\">)<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n   string s <span class=\"token operator\">&#061;<\/span> <span class=\"token string\">&#034;11&#034;<\/span><span class=\"token punctuation\">;<\/span> <span class=\"token comment\">\/\/ \u7b2c1\u8f6e\u7684\u57fa\u7840\u5e8f\u5217<\/span><br \/>\n   <span class=\"token keyword\">if<\/span> <span class=\"token punctuation\">(<\/span>n <span class=\"token operator\">&#061;&#061;<\/span> <span class=\"token number\">1<\/span><span class=\"token punctuation\">)<\/span> <span class=\"token keyword\">return<\/span> s<span class=\"token punctuation\">;<\/span><\/p>\n<p>   <span class=\"token comment\">\/\/ \u4ece\u7b2c2\u8f6e\u6a21\u62df\u5230\u7b2cn\u8f6e<\/span><br \/>\n   <span class=\"token keyword\">for<\/span> <span class=\"token punctuation\">(<\/span><span class=\"token keyword\">int<\/span> r <span class=\"token operator\">&#061;<\/span> <span class=\"token number\">2<\/span><span class=\"token punctuation\">;<\/span> r <span class=\"token operator\">&lt;&#061;<\/span> n<span class=\"token punctuation\">;<\/span> <span class=\"token operator\">&#043;&#043;<\/span>r<span class=\"token punctuation\">)<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n       string next_s <span class=\"token operator\">&#061;<\/span> <span class=\"token string\">&#034;&#034;<\/span><span class=\"token punctuation\">;<\/span><br \/>\n       <span class=\"token comment\">\/\/ \u904d\u5386\u5f53\u524d\u5e8f\u5217&#xff0c;\u68c0\u67e5\u76f8\u90bb\u5143\u7d20\u4e4b\u548c<\/span><br \/>\n       <span class=\"token keyword\">for<\/span> <span class=\"token punctuation\">(<\/span>size_t i <span class=\"token operator\">&#061;<\/span> <span class=\"token number\">0<\/span><span class=\"token punctuation\">;<\/span> i <span class=\"token operator\">&lt;<\/span> s<span class=\"token punctuation\">.<\/span><span class=\"token function\">length<\/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> <span class=\"token operator\">&#043;&#043;<\/span>i<span class=\"token punctuation\">)<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n           next_s <span class=\"token operator\">&#043;&#061;<\/span> s<span class=\"token punctuation\">[<\/span>i<span class=\"token punctuation\">]<\/span><span class=\"token punctuation\">;<\/span> <span class=\"token comment\">\/\/ \u5148\u5c06\u5f53\u524d\u6570\u5b57\u52a0\u5165\u65b0\u5e8f\u5217<\/span><\/p>\n<p>           <span class=\"token comment\">\/\/ \u5c06\u5b57\u7b26\u8f6c\u6362\u4e3a\u6570\u5b57\u8fdb\u884c\u8ba1\u7b97<\/span><br \/>\n           <span class=\"token keyword\">int<\/span> a <span class=\"token operator\">&#061;<\/span> s<span class=\"token punctuation\">[<\/span>i<span class=\"token punctuation\">]<\/span> <span class=\"token operator\">&#8211;<\/span> <span class=\"token char\">&#039;0&#039;<\/span><span class=\"token punctuation\">;<\/span><br \/>\n           <span class=\"token keyword\">int<\/span> b <span class=\"token operator\">&#061;<\/span> s<span class=\"token punctuation\">[<\/span>i<span class=\"token operator\">&#043;<\/span><span class=\"token number\">1<\/span><span class=\"token punctuation\">]<\/span> <span class=\"token operator\">&#8211;<\/span> <span class=\"token char\">&#039;0&#039;<\/span><span class=\"token punctuation\">;<\/span><\/p>\n<p>           <span class=\"token comment\">\/\/ \u89c4\u5219&#xff1a;\u5982\u679c\u76f8\u90bb\u4e24\u4e2a\u6570\u4e4b\u548c\u7b49\u4e8e\u5f53\u524d\u7684\u8f6e\u6570 r&#xff0c;\u5219\u63d2\u5165 r<\/span><br \/>\n           <span class=\"token keyword\">if<\/span> <span class=\"token punctuation\">(<\/span>a <span class=\"token operator\">&#043;<\/span> b <span class=\"token operator\">&#061;&#061;<\/span> r<span class=\"token punctuation\">)<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n               next_s <span class=\"token operator\">&#043;&#061;<\/span> <span class=\"token function\">to_string<\/span><span class=\"token punctuation\">(<\/span>r<span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><br \/>\n           <span class=\"token punctuation\">}<\/span><br \/>\n       <span class=\"token punctuation\">}<\/span><br \/>\n       next_s <span class=\"token operator\">&#043;&#061;<\/span> s<span class=\"token punctuation\">.<\/span><span class=\"token function\">back<\/span><span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span> <span class=\"token comment\">\/\/ \u522b\u5fd8\u4e86\u52a0\u4e0a\u539f\u5e8f\u5217\u7684\u6700\u540e\u4e00\u4e2a\u5b57\u7b26<\/span><br \/>\n       s <span class=\"token operator\">&#061;<\/span> next_s<span class=\"token punctuation\">;<\/span> <span class=\"token comment\">\/\/ \u66f4\u65b0\u5e8f\u5217\u4e3a\u4e0b\u4e00\u8f6e\u505a\u51c6\u5907<\/span><br \/>\n   <span class=\"token punctuation\">}<\/span><br \/>\n   <span class=\"token keyword\">return<\/span> s<span class=\"token punctuation\">;<\/span><br \/>\n<span class=\"token punctuation\">}<\/span><\/p>\n<p><span class=\"token keyword\">int<\/span> <span class=\"token function\">main<\/span><span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n   <span class=\"token keyword\">int<\/span> n<span class=\"token punctuation\">;<\/span><br \/>\n   <span class=\"token keyword\">while<\/span> <span class=\"token punctuation\">(<\/span>cin <span class=\"token operator\">&gt;&gt;<\/span> n<span class=\"token punctuation\">)<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n       cout <span class=\"token operator\">&lt;&lt;<\/span> <span class=\"token function\">solve<\/span><span class=\"token punctuation\">(<\/span>n<span class=\"token punctuation\">)<\/span> <span class=\"token operator\">&lt;&lt;<\/span> endl<span class=\"token punctuation\">;<\/span><br \/>\n   <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 punctuation\">}<\/span><\/p>\n<h4>\u603b\u7ed3<\/h4>\n<hr \/>\n<h3>\u7ffb\u8bd1<\/h3>\n<p>\u200b \u8ba1\u7b97\u673a\u79d1\u5b66\u662f\u5bf9\u6784\u6210\u8ba1\u7b97\u673a&#xff08;\u81ea\u52a8\u5904\u7406\u4fe1\u606f\u7684\u8bbe\u5907&#xff09;\u8bbe\u8ba1\u548c\u4f7f\u7528\u57fa\u7840\u7684\u7406\u8bba\u3001\u5b9e\u9a8c\u548c\u5de5\u7a0b\u7684\u7814\u7a76\u3002\u8ba1\u7b97\u673a\u79d1\u5b66\u7684\u8d77\u6e90\u53ef\u4ee5\u8ffd\u6eaf\u5230\u82f1\u56fd\u6570\u5b66\u5bb6\u67e5\u5c14\u65af\u00b7\u5df4\u8d1d\u5947&#xff08;Charles Babbage&#xff09;\u7684\u5de5\u4f5c&#xff0c;\u4ed6\u4e8e1837\u5e74\u9996\u6b21\u63d0\u51fa\u4e86\u4e00\u79cd\u53ef\u7f16\u7a0b\u7684\u673a\u68b0\u8ba1\u7b97\u5668\u3002\u76f4\u523020\u4e16\u7eaa40\u5e74\u4ee3\u7535\u5b50\u6570\u5b57\u8ba1\u7b97\u673a\u7684\u51fa\u73b0&#xff0c;\u8ba1\u7b97\u673a\u79d1\u5b66\u901a\u5e38\u624d\u88ab\u89c6\u4f5c\u4e00\u95e8\u72ec\u7acb\u4e8e\u6570\u5b66\u548c\u5de5\u7a0b\u5b66\u7684\u5b66\u79d1\u3002\u4ece\u90a3\u4ee5\u540e&#xff0c;\u5b83\u840c\u751f\u4e86\u8bb8\u591a\u8be5\u5b66\u79d1\u72ec\u6709\u7684\u7814\u7a76\u5206\u652f\u3002<\/p>\n<p>\u200b \u572820\u4e16\u7eaa40\u5e74\u4ee3\u672b\u548c50\u5e74\u4ee3\u521d&#xff0c;\u8ba1\u7b97\u673a\u79d1\u5b66\u9886\u57df\u7684\u65e9\u671f\u5de5\u4f5c\u4e3b\u8981\u96c6\u4e2d\u5728\u81ea\u52a8\u5316\u8ba1\u7b97\u8fc7\u7a0b\u4ee5\u4f9b\u79d1\u5b66\u548c\u5de5\u7a0b\u4f7f\u7528\u3002\u79d1\u5b66\u5bb6\u548c\u5de5\u7a0b\u5e08\u5f00\u53d1\u4e86\u8ba1\u7b97\u7684\u7406\u8bba\u6a21\u578b&#xff0c;\u4f7f\u4ed6\u4eec\u80fd\u591f\u5206\u6790\u4e0d\u540c\u65b9\u6cd5\u5728\u6267\u884c\u5404\u79cd\u8ba1\u7b97\u65f6\u7684\u6548\u7387\u3002\u5728\u8fd9\u6bb5\u65f6\u95f4\u91cc&#xff0c;\u8ba1\u7b97\u673a\u79d1\u5b66\u4e0e\u88ab\u79f0\u4e3a\u6570\u503c\u5206\u6790\u7684\u6570\u5b66\u5206\u652f\u6709\u5f88\u5927\u7684\u91cd\u53e0&#xff0c;\u540e\u8005\u7814\u7a76\u8ba1\u7b97\u7684\u51c6\u786e\u6027\u548c\u7cbe\u5ea6\u3002<\/p>\n<p>\u200b \u968f\u7740\u8ba1\u7b97\u673a\u7684\u4f7f\u7528\u572820\u4e16\u7eaa50\u5e74\u4ee3\u523070\u5e74\u4ee3\u4e4b\u95f4\u4e0d\u65ad\u6269\u5927&#xff0c;\u8ba1\u7b97\u673a\u79d1\u5b66\u7684\u91cd\u70b9\u968f\u4e4b\u62d3\u5bbd&#xff0c;\u6db5\u76d6\u4e86\u901a\u8fc7\u7f16\u7a0b\u8bed\u8a00\u548c\u64cd\u4f5c\u7cfb\u7edf\u6765\u7b80\u5316\u8ba1\u7b97\u673a\u7684\u4f7f\u7528\u2014\u2014\u7f16\u7a0b\u8bed\u8a00\u662f\u7528\u4e8e\u5bf9\u8ba1\u7b97\u673a\u8fdb\u884c\u7f16\u7a0b\u7684\u4eba\u5de5\u8bed\u8a00&#xff0c;\u800c\u64cd\u4f5c\u7cfb\u7edf\u662f\u4e3a\u8ba1\u7b97\u673a\u548c\u7528\u6237\u4e4b\u95f4\u63d0\u4f9b\u6709\u7528\u63a5\u53e3\u7684\u8ba1\u7b97\u673a\u7a0b\u5e8f\u3002\u5728\u6b64\u671f\u95f4&#xff0c;\u8ba1\u7b97\u673a\u79d1\u5b66\u5bb6\u8fd8\u5728\u5c1d\u8bd5\u65b0\u7684\u5e94\u7528\u7a0b\u5e8f\u548c\u8ba1\u7b97\u673a\u8bbe\u8ba1&#xff0c;\u521b\u5efa\u4e86\u6700\u521d\u7684\u8ba1\u7b97\u673a\u7f51\u7edc&#xff0c;\u5e76\u63a2\u7d22\u4e86\u8ba1\u7b97\u4e0e\u601d\u7ef4\u4e4b\u95f4\u7684\u5173\u7cfb\u3002<\/p>\n<p>sprouted: v. \u53d1\u82bd&#xff0c;\u957f\u51fa&#xff0c;\u4ea7\u751f&#xff08;\u539f\u5f62 sprout&#xff09;<\/p>\n<p>discipline: n. \u5b66\u79d1&#xff1b;\u7eaa\u5f8b<\/p>\n<p>automating: v. \u4f7f\u81ea\u52a8\u5316&#xff08;\u539f\u5f62 automate&#xff09;<\/p>\n<p>\u200b<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/02\/20260223104345-699c2f6199813.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>97.\u56de\u6587\u65702<br \/>\n\u9898\u76ee\u63cf\u8ff0<br \/>\n\u660e\u660e\u7684\u95ee\u9898\u53ef\u4ee5\u5f52\u7ed3\u4e3a&#xff1a;\u7ed9\u4f60\u4e00\u4e2a\u6574\u6570&#xff08;\u5341\u8fdb\u5236&#xff09;&#xff0c;\u5224\u65ad\u8be5\u6574\u6570\u7684\u5341\u8fdb\u5236\u6570\u548c\u5b83\u7684\u4e8c\u8fdb\u5236\u6570\u662f\u5426\u5168\u4e3a\u56de\u6587\u6570\u3002<br \/>\n\u4ee3\u7801<br \/>\n#include<br \/>\n#include<br \/>\n#include using namespace std;\/\/\u5224\u65ad\u4e00\u4e2a\u5b57\u7b26\u4e32\u662f\u5426\u4e3a\u56de\u6587<br \/>\nbool isPalindrome(const string&amp; s) {int left  0;in<\/p>\n","protected":false},"author":2,"featured_media":76991,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[427],"topic":[],"class_list":["post-76992","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-427"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>2\u670823\u65e5\uff0897-99\u9898\uff09 - \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\/76992.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"2\u670823\u65e5\uff0897-99\u9898\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"97.\u56de\u6587\u65702 \u9898\u76ee\u63cf\u8ff0 \u660e\u660e\u7684\u95ee\u9898\u53ef\u4ee5\u5f52\u7ed3\u4e3a&#xff1a;\u7ed9\u4f60\u4e00\u4e2a\u6574\u6570&#xff08;\u5341\u8fdb\u5236&#xff09;&#xff0c;\u5224\u65ad\u8be5\u6574\u6570\u7684\u5341\u8fdb\u5236\u6570\u548c\u5b83\u7684\u4e8c\u8fdb\u5236\u6570\u662f\u5426\u5168\u4e3a\u56de\u6587\u6570\u3002 \u4ee3\u7801 #include #include #include using namespace std;\/\/\u5224\u65ad\u4e00\u4e2a\u5b57\u7b26\u4e32\u662f\u5426\u4e3a\u56de\u6587 bool isPalindrome(const string&amp; s) {int left 0;in\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/76992.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-02-23T10:43:47+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/02\/20260223104345-699c2f6199813.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\/76992.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/76992.html\",\"name\":\"2\u670823\u65e5\uff0897-99\u9898\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-02-23T10:43:47+00:00\",\"dateModified\":\"2026-02-23T10:43:47+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/76992.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/76992.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/76992.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"2\u670823\u65e5\uff0897-99\u9898\uff09\"}]},{\"@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":"2\u670823\u65e5\uff0897-99\u9898\uff09 - \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\/76992.html","og_locale":"zh_CN","og_type":"article","og_title":"2\u670823\u65e5\uff0897-99\u9898\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"97.\u56de\u6587\u65702 \u9898\u76ee\u63cf\u8ff0 \u660e\u660e\u7684\u95ee\u9898\u53ef\u4ee5\u5f52\u7ed3\u4e3a&#xff1a;\u7ed9\u4f60\u4e00\u4e2a\u6574\u6570&#xff08;\u5341\u8fdb\u5236&#xff09;&#xff0c;\u5224\u65ad\u8be5\u6574\u6570\u7684\u5341\u8fdb\u5236\u6570\u548c\u5b83\u7684\u4e8c\u8fdb\u5236\u6570\u662f\u5426\u5168\u4e3a\u56de\u6587\u6570\u3002 \u4ee3\u7801 #include #include #include using namespace std;\/\/\u5224\u65ad\u4e00\u4e2a\u5b57\u7b26\u4e32\u662f\u5426\u4e3a\u56de\u6587 bool isPalindrome(const string&amp; s) {int left 0;in","og_url":"https:\/\/www.wsisp.com\/helps\/76992.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-02-23T10:43:47+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/02\/20260223104345-699c2f6199813.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\/76992.html","url":"https:\/\/www.wsisp.com\/helps\/76992.html","name":"2\u670823\u65e5\uff0897-99\u9898\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-02-23T10:43:47+00:00","dateModified":"2026-02-23T10:43:47+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/76992.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/76992.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/76992.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"2\u670823\u65e5\uff0897-99\u9898\uff09"}]},{"@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\/76992","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=76992"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/76992\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/76991"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=76992"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=76992"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=76992"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=76992"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}