{"id":155848,"date":"2020-09-10T00:54:47","date_gmt":"2020-09-09T16:54:47","guid":{"rendered":"http:\/\/4563.org\/?p=155848"},"modified":"2020-09-10T00:54:47","modified_gmt":"2020-09-09T16:54:47","slug":"%e8%8c%b4%e5%ad%97%e6%9c%89%e5%a4%9a%e5%b0%91%e7%a7%8d%e5%86%99%e6%b3%95%ef%bc%9f%ef%bc%88%e6%80%8e%e4%b9%88%e5%88%a4%e6%96%ad%e4%b8%80%e4%b8%aa%e6%95%b4%e6%95%b0%e6%98%af%e5%90%a6%e4%b8%ba%e5%81%b6","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=155848","title":{"rendered":"\u8334\u5b57\u6709\u591a\u5c11\u79cd\u5199\u6cd5\uff1f\uff08\u600e\u4e48\u5224\u65ad\u4e00\u4e2a\u6574\u6570\u662f\u5426\u4e3a\u5076\u6570\uff09"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  \u8334\u5b57\u6709\u591a\u5c11\u79cd\u5199\u6cd5\uff1f\uff08\u600e\u4e48\u5224\u65ad\u4e00\u4e2a\u6574\u6570\u662f\u5426\u4e3a\u5076\u6570\uff09               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : ipengxh <\/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>\u4ee5 JS \u4e3a\u4f8b\uff0c\u76ee\u524d\u60f3\u5230\u7684\u6709\u4ee5\u4e0b\u51e0\u79cd\uff1a<\/p>\n<ul>\n<li>\u6b63\u7ecf\u89e3\u6cd5\uff1a<\/li>\n<\/ul>\n<pre><code>return !(num % 2) <\/code><\/pre>\n<ul>\n<li>\u4e0d\u6b63\u7ecf\u89e3\u6cd5\uff1a<\/li>\n<\/ul>\n<pre><code>return \/^d*[24680]$\/.test(num) \/\/ \u6216\u8005 !\/^d*.5$\/.test(num\/2) <\/code><\/pre>\n<pre><code>return !(num &amp; 1) \/\/ \u6216\u8005 ~num &amp; 1 <\/code><\/pre>\n<pre><code>return num &gt;&gt; 1 &lt;&lt; 1 == num <\/code><\/pre>\n<p>\u8fd8\u6709\u4ec0\u4e48\u9a9a\u64cd\u4f5c\uff1f<\/p>\n<\/p><\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>6<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"3303682\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : shintendo <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             npm install is-even                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3303683\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : BingoXuan <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u597d\u50cf\u76f4\u63a5\u770b\u4e8c\u8fdb\u5236\u7684\u8bdd\uff0c1 \u7684 bit \u5fc5\u5b9a\u4e3a 1                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3303684\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : BingoXuan <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @BingoXuan <br \/>\u8111\u62bd\u4e86\uff0c1 \u7684 bit \u5fc5\u5b9a\u4e3a 0 \u3002lz \u7684\u4e0d\u6b63\u7ecf\u89e3\u6cd5 2 \u5c31\u662f\u4e86\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3303685\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : ipengxh <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @shintendo \u79c0                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3303686\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : 0x11901 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @shintendo \u6b63\u89e3                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3303687\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : pushback <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u6e29\u4e24\u7897\u9152,\u8981\u4e00\u789f\u8334\u9999\u8c46!                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>\u8334\u5b57\u6709\u591a\u5c11\u79cd\u5199\u6cd5\uff1f\uff08\u600e\u4e48\u5224\u65ad\u4e00\u4e2a\u6574&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\/155848"}],"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=155848"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/155848\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=155848"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=155848"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=155848"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}