{"id":18,"date":"2023-01-15T19:29:00","date_gmt":"2023-01-15T11:29:00","guid":{"rendered":"https:\/\/solost.cn\/?p=18"},"modified":"2023-01-31T19:08:36","modified_gmt":"2023-01-31T11:08:36","slug":"38","status":"publish","type":"post","link":"https:\/\/solost.cn\/?p=18","title":{"rendered":"lowbit-\u8ba1\u7b97\u6574\u6570\u5728\u4e8c\u8fdb\u5236\u6700\u4f4e\u4f4d\u7684\u4f4d\u7f6e"},"content":{"rendered":"<pre><code class=\"lang-cpp\">int lowbit(int x)\n{\n    return x &amp; (-x);\n}\n\/\/\u8fd4\u56de\u6700\u4f4e\u4f4d1\u7684\u7684\u4f4d\u7f6e\u76842^k\uff0c\u4f8b\u5982lowbit(8) = 2^3 == 8, lowbit(16) = 2 ^ 4 == 16<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>int lowbit(int x) { return x &amp; (-x); } \/\/\u8fd4\u56de\u6700\u4f4e\u4f4d1\u7684\u7684\u4f4d\u7f6e\u76842^k\uff0c\u4f8b\u5982lowbit(8) = 2^3 == 8, lowbit(16) = 2 ^ 4 == 16<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[72],"tags":[],"class_list":["post-18","post","type-post","status-publish","format-standard","hentry","category-acm"],"_links":{"self":[{"href":"https:\/\/solost.cn\/index.php?rest_route=\/wp\/v2\/posts\/18","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/solost.cn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/solost.cn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/solost.cn\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/solost.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=18"}],"version-history":[{"count":0,"href":"https:\/\/solost.cn\/index.php?rest_route=\/wp\/v2\/posts\/18\/revisions"}],"wp:attachment":[{"href":"https:\/\/solost.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=18"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/solost.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=18"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/solost.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=18"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}