{"id":108478,"date":"2020-05-15T14:25:13","date_gmt":"2020-05-15T06:25:13","guid":{"rendered":"http:\/\/4563.org\/?p=108478"},"modified":"2020-05-15T14:25:13","modified_gmt":"2020-05-15T06:25:13","slug":"%e5%be%81%e9%9b%86%e4%b8%80%e7%a7%8d%e5%af%b9%e5%9b%9e%e5%a4%8d%e6%8a%bd%e5%a4%9a%e4%b8%aa%e5%a5%96%e7%9a%84%e9%9a%8f%e6%9c%ba%e7%ae%97%e6%b3%95%ef%bc%8c%e5%9b%9e%e5%a4%8d%e6%96%b9%e6%a1%88%e5%bf%85","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=108478","title":{"rendered":"\u5f81\u96c6\u4e00\u79cd\u5bf9\u56de\u590d\u62bd\u591a\u4e2a\u5956\u7684\u968f\u673a\u7b97\u6cd5\uff0c\u56de\u590d\u65b9\u6848\u5fc5\u611f\u8c22~"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  \u5f81\u96c6\u4e00\u79cd\u5bf9\u56de\u590d\u62bd\u591a\u4e2a\u5956\u7684\u968f\u673a\u7b97\u6cd5\uff0c\u56de\u590d\u65b9\u6848\u5fc5\u611f\u8c22~               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : xatest <\/span>  <span><i><\/i> 51<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\">                        \u6211\u6307\u7684\u662f\uff0c\u6211\u53d1\u7684 \/t\/635728 \u8fd9\u4e2a\u5e16\u5b50~<br \/>\u6211\u628a\u56de\u590d\u53c2\u4e0e\u62bd\u5956\u7684\u8d44\u683c\uff0c\u6700\u665a\u622a\u6b62\u5230\u4eca\u665a 23:59:59\uff0c\u5e94\u8be5\u6309\u4ec0\u4e48\u968f\u673a\u7b97\u6cd5\u62bd 3 \u4e2a\u5956\uff1f<br \/>\u4f8b\u5982\uff1a\u62ff\u5177\u4f53\u6570\u5b57\u6765\u8bf4\uff0c\u4e00\u5171\u6536\u5230 1024 \u4e2a\u56de\u590d\uff0c\u600e\u4e48\u4ee5\u4e00\u4e2a\u516c\u6b63+\u968f\u673a\u7684\u7b97\u6cd5\u6765\u62bd[1,1024]\u533a\u95f4\u7684 3 \u4e2a\u6574\u6570\uff1f<\/p>\n<p>\u51e1\u662f\u56de\u590d\u65b9\u6848\uff0c\u65e0\u8bba\u65b9\u6848\u597d\u574f\u5fc5\u611f\u8c22~      <\/p><\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>13<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"648712\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : lhx2008 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             random.shufile([x for x in range(1, 1025)])[:3]                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"648713\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : wolfie <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u6bcf\u4e2a\u5c42[\u7528\u6237 + \u5c42\u6570]md5<br \/>\u5f53\u5929\u535a\u5f69\u3001\u80a1\u7968\u6216\u8005\u5176\u4ed6\u7684 md5<br \/>\u5bf9\u6bd4\u53d6\u6700\u8fd1\u3002<br \/>https:\/\/www.jianshu.com\/p\/6577075ee118                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"648714\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : psychoo <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             3 \u4e2a\u9884\u5b9a\u672a\u6765\u65f6\u523b\u7684\u6bd4\u7279\u5e01\u4ef7\u683c%1024                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"648715\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : ferock <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u8fd9\u4e2a\u4e16\u4e0a\u6709\u771f\u968f\u673a\u7684\u4e8b\u60c5\u5417\uff1f\u5982\u679c\u4e0d\u7ea0\u7ed3\u8fd9\u70b9\uff0cRand \u4e0d\u5c31\u884c\u4e86\u3002\u3002\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"648716\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Mutoo <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u63d0\u524d shuffle \u597d\u4e00\u4e2a 1 \u5230 1024 \u7684\u6570\u7ec4\uff0c\u5e76\u5e26\u4e0a\u65f6\u95f4\u6233\uff0c\u7136\u540e\u8fdb\u884c md5 \u5e76\u53ea\u628a md5 \u53d1\u8bba\u575b\u4e0a\u3002<br \/>\u5230\u671f\u540e\u516c\u5e03\u8fd9\u4e2a\u6570\u7ec4\u5c31\u884c\u4e86\uff0c\u5927\u5bb6\u53ef\u4ee5\u81ea\u884c md5 \u9a8c\u8bc1\u3002<\/p>\n<p>\u4ee5\u4e0a\u4f5c\u6cd5\u6709\u4e00\u4e2a\u5c0f\u95ee\u9898\uff0c\u5c31\u662f LZ \u63d0\u524d\u77e5\u9053\u7ed3\u679c\uff0c\u6709\u53ef\u80fd\u8fdb\u884c\u62a2\uff0c\u6240\u4ee5\u6700\u540e\u53ef\u4ee5\u5728\u8fd9\u4e2a\u6570\u7ec4\u4e0a\u53d6\u4e00\u4e2a\u4e0d\u53ef\u63a7\u56e0\u7d20\u4f5c\u504f\u79fb\u91cf\u3002\u4e5f\u5c31\u662f\u4f20\u7edf\u7684\u62bd\u53d6\u4e00\u7684\u65b9\u6cd5\u3002                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"648717\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : BiteTheDust <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u76f4\u63a5 rand \u4e00\u4e2a\u6b63\u5e38\u7684 rand \u51fd\u6570 \u5728\u968f\u673a\u8303\u56f4\u5185\u7684\u6982\u7387\u90fd\u5e94\u8be5\u662f\u8981\u6c42\u975e\u5e38\u8fd1\u4f3c\u7684 \u4f60\u81ea\u5df1\u52a8\u8111\u7b4b\u968f\u673a\u51fa\u6765\u7684 \u53cd\u800c\u53ef\u80fd\u505a\u4e0d\u5230\u516c\u5e73                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"648718\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : sockpuppet9527 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u76f4\u63a5\u56de\u590d\u7684<\/p>\n<p>\u53ef\u4ee5\u53c2\u8003\u4e0b\u8fd9\u7bc7\u8bba\u6587 P. L&#8217;Ecuyer, &#8220;Maximally Equidistributed Combined Tausworthe Generators&#8221;, Mathematics of Computation, 65, 213 (1996), 203&#8211;213.<br \/>\u6709\u5185\u6838\u5de5\u5177\u7684 random \u662f\u53c2\u8003\u8fd9\u7bc7\u6587\u7ae0\u5199\u7684\uff0c\u91cf\u8db3\u591f\u5927\u7684\u60c5\u51b5\u4e0b\u5b83\u80fd\u4fdd\u8bc1\u516c\u5e73\u4ee5\u53ca\u8303\u56f4\u8db3\u591f\u5927\u3002<br \/>fio \u5b9e\u73b0 \uff1a https:\/\/github.com\/axboe\/fio\/blob\/master\/lib\/rand.c<\/p>\n<p>fio \u7684\u968f\u673a\u7b97\u6cd5\u76ee\u7684\u662f\u5728 randrw \u7684\u60c5\u51b5\u4e0b\u4fdd\u8bc1\u5168\u76d8\u516c\u5e73\u8986\u76d6\u3002\u3002\u6240\u4ee5\u548c\u4f60\u7684\u76ee\u7684\u5dee\u4e0d\u591a\uff0c\u4f60\u53ea\u9700\u8981\u53d6\u4e09\u6b21\u5373\u53ef                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"648719\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : xatest <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @lhx2008 <br \/>@wolfie <br \/>@psychoo <br \/>@ferock <br \/>@Mutoo <br \/>@BiteTheDust <br \/>@sockpuppet9527 <br \/>\u611f\u8c22\u5df2\u53d1\u9001\uff5e                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"648720\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : xiao17174 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             # -*- coding: UTF-8 -*-<br \/>import random<\/p>\n<p>#\u660e\u5929\u5f00\u76d8\u65f6\u7684\u4e0a\u8bc1\u6307\u6570*100 \u7684\u503c<br \/>sh_value = 3083.39<br \/>#\u5c42\u603b\u6570<br \/>msg_count=1234<\/p>\n<p>#\u521d\u59cb\u5316\u968f\u673a\u503c<br \/>random.seed(sh_value * 100)<br \/>seed2 = random.randint(1,9999)<br \/>random.seed(seed2)<\/p>\n<p>\/\/\u5f00\u59cb\u62bd\u5956<br \/>print &#8220;\u7b2c\u4e00\u4e2a\u4e2d\u5956\u8005\u5c42:%d&#8221; %random.randint(1,msg_count)<br \/>print &#8220;\u7b2c\u4e8c\u4e2a\u4e2d\u5956\u8005\u5c42:%d&#8221; %random.randint(1,msg_count)<br \/>print &#8220;\u7b2c\u4e09\u4e2a\u4e2d\u5956\u8005\u5c42:%d&#8221; %random.randint(1,msg_count)<br \/>print &#8220;\u7b2c\u56db\u4e2a\u4e2d\u5956\u8005\u5c42:%d&#8221; %random.randint(1,msg_count)<br \/>#\u5982\u679c\u4e0a\u9762\u6709\u91cd\u590d,\u540e\u8005\u7528\u5019\u8865\u9876\u66ff<br \/>print &#8220;\u5019\u8865\u4e2d\u5956\u8005\u4e00:%d&#8221; %random.randint(1,msg_count)<br \/>print &#8220;\u5019\u8865\u4e2d\u5956\u8005\u4e8c:%d&#8221; %random.randint(1,msg_count)                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"648721\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : pangleon <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @wolfie \u597d\u601d\u8def\uff01                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"648722\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : xiao17174 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u89e3\u91ca\u4e00\u4e0b:<br \/>1.\u539f\u7406\u662f\u7ed9\u4f2a\u968f\u673a\u6570\u751f\u6210\u5668\u4e00\u4e2a\u786e\u5b9a\u7684\u79cd\u5b50,\u90a3\u4e48\u4ed6\u7684\u968f\u673a\u6570\u751f\u6210\u4e5f\u53d8\u5f97\u786e\u5b9a\u4e86.\u4fdd\u8bc1\u7ed3\u679c\u53ef\u91cd\u73b0.<br \/>2.\u7528\u8fd9\u4e2a\u7b97\u6cd5,\u5c31\u8981\u7b49\u5230\u660e\u5929 9 \u70b9 30 \u5f00\u5956,\u5982\u679c\u60f3\u7acb\u5373\u5f00\u5956,\u4e5f\u53ef\u4ee5\u6539\u6210\u4eca\u665a 12 \u70b9\u7684\u6bd4\u7279\u5e01\u4ef7\u683c\u6216\u8005\u5176\u5b83\u56fd\u5bb6\u7684\u80a1\u5e02\u6536\u76d8\u4ef7\u683c(\u5efa\u8bae\u7528\u5f00 \/\u6536\u76d8\u4ef7\u683c,\u5b83\u662f\u4e00\u4e2a\u5b9a\u503c,\u800c\u6bd4\u7279\u5e01\u65f6\u523b\u5728\u53d8).<br \/>3.\u8fd0\u884c\u73af\u5883\u53ef\u4ee5\u7528\u5728\u7ebf python \u5de5\u5177(\u6bd4\u5982 https:\/\/c.runoob.com\/compile\/9)\u6216\u8005\u6307\u5b9a python \u7248\u672c\u6765\u4fdd\u8bc1\u7ed3\u679c\u53ef\u91cd\u73b0.<br \/>4.\u53ef\u4ee5\u518d\u591a\u52a0\u51e0\u5c42\u6df7\u6dc6,\u4f46\u662f\u6211\u89c9\u5f97\u6ca1\u5fc5\u8981\u4e86.                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"648723\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Kelan <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @wolfie \u8fd9\u4e2a\u6587\u7ae0\u91cc\u7684\u65b9\u6cd5\u5176\u5b9e\u4e5f\u89e3\u51b3\u4e0d\u4e86\u4ed6\u8bf4\u7684\u6240\u8c13\u63d2\u5165\u50f5\u5c38\u53f7\u7684\u95ee\u9898\u3002\u6ca1\u5fc5\u8981\u641e\u90a3\u4e48\u590d\u6742\u7684\u79bb\u6563\u5316\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"648724\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : xatest <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @xiao17174 #11 \u611f\u8c22\u5df2\u53d1\u9001~                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>\u5f81\u96c6\u4e00\u79cd\u5bf9\u56de\u590d\u62bd\u591a\u4e2a\u5956\u7684\u968f\u673a\u7b97\u6cd5\uff0c&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\/108478"}],"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=108478"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/108478\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=108478"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=108478"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=108478"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}