{"id":177402,"date":"2020-10-28T04:06:34","date_gmt":"2020-10-27T20:06:34","guid":{"rendered":"http:\/\/4563.org\/?p=177402"},"modified":"2020-10-28T04:06:34","modified_gmt":"2020-10-27T20:06:34","slug":"%e5%87%bd%e6%95%b0%e5%8f%af%e5%8f%98%e5%8f%82%e6%95%b0%e9%81%87%e5%88%b0%e5%9b%ba%e5%ae%9a%e8%af%ad%e5%8f%a5%e6%97%a0%e6%b3%95%e5%88%a4%e6%96%ad%e5%8f%82%e6%95%b0%e5%85%b3%e7%b3%bb%e7%9a%84%e9%97%ae","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=177402","title":{"rendered":"\u51fd\u6570\u53ef\u53d8\u53c2\u6570\u9047\u5230\u56fa\u5b9a\u8bed\u53e5\u65e0\u6cd5\u5224\u65ad\u53c2\u6570\u5173\u7cfb\u7684\u95ee\u9898"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  \u51fd\u6570\u53ef\u53d8\u53c2\u6570\u9047\u5230\u56fa\u5b9a\u8bed\u53e5\u65e0\u6cd5\u5224\u65ad\u53c2\u6570\u5173\u7cfb\u7684\u95ee\u9898               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : yellowtail <\/span>  <span><i><\/i> 2<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\"> <\/p>\n<p>\u6bd4\u5982\u6709\u4e24\u4e2a\u53ef\u53d8\u53c2\u6570\uff0cab\uff0c\u9700\u8981\u6bd4\u8f83\u53c2\u6570\u5173\u7cfb\u662f\u5426\u7b26\u5408 a&gt;b,\u53ef\u4ee5\u5199 if argv[0]&gt;argv[1]: \u4f46\u662f\u73b0\u5728\u6709\u4e09\u4e2a\u53c2\u6570 abc \u7684\u8bdd\uff0c\u9700\u8981\u6bd4\u8f83\u662f\u5426 a&gt;b&gt;c\uff0c\u95ee\u9898\u5c31\u6765\u4e86\u3002\u3002\u4e4b\u524d\u5224\u65ad\u5f0f\u662f\u4e3a\u4e24\u4e2a\u53c2\u6570\u51c6\u5907\u7684\uff0c\u53ea\u80fd\u518d\u52a0\u4e00\u4e2a\u5224\u65ad\uff0c\u7136\u540e\u6839\u636e\u53c2\u6570\u6570\u91cf\u9009\u62e9\u6267\u884c\u65b9\u5f0f\u3002\u3002\u5982\u679c\u53c2\u6570\u591a\u4e86\u8be5\u600e\u4e48\u529e\u5462\uff1f\u6709\u4ec0\u4e48\u597d\u7684\u89e3\u51b3\u529e\u6cd5\uff1f<\/p>\n<\/p><\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>5<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"3925694\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : yellowtail <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u53c8\u601d\u8003\u4e86\u4e0b\uff0c\u53ef\u4ee5\u7528 for \u5faa\u73af\u8fdb\u884c\u591a\u6b21\u5224\u65ad\u3002\u3002\u4e0d\u8fc7\u611f\u89c9\u6709\u70b9\u53d6\u5de7\uff0c\u4e0d\u77e5\u9053\u662f\u5426\u6709\u66f4\u666e\u9002\u7684\u65b9\u6cd5\u3002\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3925695\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : xiaolinjia <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             if sorted(argv, reverse=True) == list(argv):<br \/>\u5acc\u9ebb\u70e6\u53ef\u4ee5\u8fd9\u6837\u4e00\u53e5\uff0c\u4e0d\u8fc7\u6548\u7387\u6bd4\u8f83\u4f4e\uff0c\u5143\u7d20\u591a\u4e86\u5c31\u4e0d\u591f\u597d\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3925696\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : no1xsyzy <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u662f\u6307\u4efb\u610f\u53c2\u6570\u8868\u4ee5\u964d\u5e8f\u6392\u5217\u5417\uff1f<\/p>\n<p>all(f&gt;l for f,l in zip(argv[:-1], argv[1:]))                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3925697\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : no1xsyzy <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u4e0d\u8fc7\u53ef\u8bfb\u6027\u8fd8\u4e0d\u5982 for \u8fc7\u4e00\u904d\u2026\u2026                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3925698\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : yucongo <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             all(elm &gt; argv[idx + 1] for idx, elm in enumerate(argv[:-1]))                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>\u51fd\u6570\u53ef\u53d8\u53c2\u6570\u9047\u5230\u56fa\u5b9a\u8bed\u53e5\u65e0\u6cd5\u5224\u65ad\u53c2&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/177402"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=177402"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/177402\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=177402"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=177402"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=177402"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}