{"id":242,"date":"2023-10-11T19:29:31","date_gmt":"2023-10-11T11:29:31","guid":{"rendered":"https:\/\/wp.minicoda.com\/?p=242"},"modified":"2024-11-06T18:05:45","modified_gmt":"2024-11-06T10:05:45","slug":"%e6%ba%a2%e5%87%ba","status":"publish","type":"post","link":"https:\/\/wp.minicoda.com\/index.php\/%e6%ba%a2%e5%87%ba\/","title":{"rendered":"\u6ea2\u51fa"},"content":{"rendered":"\n<p>  \u4efb\u4f55\u6570\u636e\u7c7b\u578b\u90fd\u6709\u6700\u5927\u548c\u6700\u5c0f\u503c\uff0c\u4f1a\u6ea2\u51fa\u662f\u7531\u7269\u7406\u7279\u6027\u51b3\u5b9a\u3002\u7f16\u8bd1\u578b\u9759\u6001\u7c7b\u578b\u8bed\u8a00\u4e00\u822c\u660e\u786e\u5b9a\u4e49\u7c7b\u578b\u5927\u5c0f\uff0c\u8fd9\u79cd\u5b9a\u4e49\u51fa\u6765\u7684\u7c7b\u578b\u90fd\u5b58\u5728\u6ea2\u51fa\u7684\u53ef\u80fd\u3002\u6709\u7684\u52a8\u6001\u8bed\u8a00\u4e3a\u51cf\u5c11\u7a0b\u5e8f\u5458\u6ea2\u51fa\u7684\u56f0\u6270\uff0c\u5c3d\u53ef\u80fd\u4e3a\u6570\u636e\u6269\u5c55\u6210\u66f4\u5927\u7684\u6570\u503c\uff0cPython\u5c31\u662f\u8fd9\u6837\u7684\u597d\u4eba\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Python\u4e2d\u8ba1\u7b972\u7684100\u6b21\u5e422**100\uff0c\u7ed3\u679c\u6b63\u786e\u3002Python 2\u6709int\u548clong\u533a\u5206\uff0cPython 3\u53ea\u6709long\u7c7b\u578b, long\u662f\u4e0d\u6ea2\u51fa\u7684\u3002\u539f\u7406\u5728\u4e8elong\u5185\u90e8\u4fdd\u5b58\u4e86\u4e00\u4e2a\u6574\u578b\u6570\u7ec4\uff0c\u4fdd\u5b58\u6bcf\u4f4d\u3002<\/li>\n\n\n\n<li>C\/C++\/Java\/C#\/Go\/Rust\u539f\u751f\u5747\u4e0d\u652f\u6301\u65e0\u9650\u957f\u6574\u578b\uff0c\u9664\u975e\u7528\u6570\u7ec4\u6216\u5b57\u7b26\u4e32\u6a21\u62df\u5927\u6574\u6570\u8fd0\u7b97\u3002<\/li>\n\n\n\n<li>PHP\u63d0\u4f9b<strong>bcadd<\/strong>\u4e4b\u7c7b\u6216<strong>GMP<\/strong>\u51fd\u6570\u5b8c\u6210\u5927\u6574\u6570\u8ba1\u7b97\u3002<\/li>\n\n\n\n<li>JS\u7684<strong>BigInt<\/strong>\u53ef\u4ee5\u8868\u793a\u4efb\u610f\u5927\u7684\u6574\u6570\u3002<\/li>\n\n\n\n<li>PHP\u8d85\u51fa\u6574\u6570\u8303\u56f4\u7684\u6570\u503c\u4f1a\u81ea\u52a8\u8f6c\u6362\u6210\u6d6e\u70b9\u6570\u4ee5\u4fdd\u8bc1\u6570\u503c\u6b63\u786e\u3002<\/li>\n<\/ul>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u6709\u7b26\u53f7\u548c\u65e0\u7b26\u53f7\u6570\u7684\u6ea2\u51fa<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>C\/C++\u6709\u7b26\u53f7\u6570\u6ea2\u51fa\u7ed3\u679c\u65e0\u5b9a\u4e49\uff0c\u65e0\u7b26\u53f7\u6570\u6ea2\u51fa\u662f\u786e\u5b9a\u7684\uff0c\u7ed3\u679c\u662f2\u7684n\u6b21\u5e42\u53d6\u6a21\u3002<\/li>\n\n\n\n<li>\u5927\u90e8\u5206\u7f16\u7a0b\u8bed\u8a00\u6570\u503c\u5b58\u50a8\u7528\u8865\u7801\uff0c\u4f8b\u5982short\u6700\u5c0f\u503c\u662f-32768\uff0c\u6700\u5927\u503c\u662f32767\uff0c\u5982short\u53d8\u91cfn\u662f\u8d1f\u6570\uff0c-n\u5f88\u53ef\u80fd\u6ea2\u51fa\u3002<\/li>\n<\/ul>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u81ea\u52a8\u7c7b\u578b\u8f6c\u6362\u548c\u6ea2\u51fa<\/h2>\n\n\n\n<p>  \u9700\u8981\u6ce8\u610f\uff0c\u7f16\u7a0b\u8bed\u8a00\u4e00\u822c\u6709\u9690\u5f0f\u6216\u81ea\u52a8\u7c7b\u578b\u8f6c\u6362\uff0c\u5c3d\u7ba1\u8868\u8fbe\u5f0f\u8ba1\u7b97\u7ed3\u679c\u770b\u8d77\u6765\u8d85\u8fc7\u7c7b\u578b\u5927\u5c0f\uff0c\u4f46\u56e0\u4e3a\u6709\u9690\u5f0f\u8f6c\u6362\uff0c\u6ea2\u51fa\u5e76\u4e0d\u4f1a\u53d1\u751f\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>short b = 20000; int a = b * b;<br>\u5f53short\u662f2\u5b57\u8282\uff0cint\u662f4\u5b57\u8282\uff0cb * b\u4f1a\u53d8\u6210int\u7c7b\u578bb\u76f8\u4e58\uff0c\u7ed3\u679c\u5728int\u7c7b\u578b\u8303\u56f4\uff0c\u4e0d\u4f1a\u6ea2\u51fa\u3002<\/li>\n<\/ul>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4efb\u4f55\u6570\u636e\u7c7b\u578b\u90fd\u6709\u6700\u5927\u548c\u6700\u5c0f\u503c\uff0c\u4f1a\u6ea2\u51fa\u662f\u7531\u7269\u7406\u7279\u6027\u51b3\u5b9a\u3002\u7f16\u8bd1\u578b\u9759\u6001\u7c7b\u578b\u8bed\u8a00\u4e00\u822c\u660e\u786e\u5b9a\u4e49\u7c7b\u578b\u5927\u5c0f\uff0c\u8fd9\u79cd\u5b9a\u4e49\u51fa\u6765\u7684\u7c7b\u578b\u90fd\u5b58\u5728\u6ea2\u51fa\u7684\u53ef\u80fd\u3002\u6709\u7684\u52a8\u6001\u8bed\u8a00\u4e3a\u51cf\u5c11\u7a0b\u5e8f\u5458\u6ea2\u51fa\u7684\u56f0\u6270\uff0c\u5c3d\u53ef\u80fd\u4e3a\u6570\u636e\u6269\u5c55\u6210\u66f4\u5927\u7684\u6570\u503c\uff0cPy&#46;&#46;&#46;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[29,74,36,84,8],"tags":[31,37,85,9],"class_list":["post-242","post","type-post","status-publish","format-standard","hentry","category-29","category-74","category-36","category-84","category-8","tag-31","tag-37","tag-85","tag-9"],"views":61,"_links":{"self":[{"href":"https:\/\/wp.minicoda.com\/index.php\/wp-json\/wp\/v2\/posts\/242","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wp.minicoda.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wp.minicoda.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wp.minicoda.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wp.minicoda.com\/index.php\/wp-json\/wp\/v2\/comments?post=242"}],"version-history":[{"count":4,"href":"https:\/\/wp.minicoda.com\/index.php\/wp-json\/wp\/v2\/posts\/242\/revisions"}],"predecessor-version":[{"id":3295,"href":"https:\/\/wp.minicoda.com\/index.php\/wp-json\/wp\/v2\/posts\/242\/revisions\/3295"}],"wp:attachment":[{"href":"https:\/\/wp.minicoda.com\/index.php\/wp-json\/wp\/v2\/media?parent=242"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wp.minicoda.com\/index.php\/wp-json\/wp\/v2\/categories?post=242"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wp.minicoda.com\/index.php\/wp-json\/wp\/v2\/tags?post=242"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}