計算一次的業務流程:
第一步:隨機取出1到10的數字n1
3n1 = n1*2 +n1
7n1 = 3n1*2+n1
15n1 = 7n1*2+n1
...
...共進行15次計算
第二步:隨機取出1到10的數字n2
3n2 = n2*2 +n2
7n2 = 3n2*2+n2
15n2 = 7n2*2+n2
...
...共進行15次計算
第三步:做差並輸出:
3n1 - 3n2 = x1 輸出
7n1 - 7n2 = x2 輸出
....
.... = x15 輸出
http://xueshu.baidu.com/s?wd=paperuri:(338d8466d57169d1a3f5c5c14007590c)&filter=sc_long_sign&sc_ks_para=q%3D%E5%9F%BA%E4%BA%8E%E7%AE%80%E5%8D%95Petri%E7%BD%91%E5%92%8CgSpan%E7%AE%97%E6%B3%95%E7%9A%84%E4%B8%9A%E5%8A%A1%E6%B5%81%E7%A8%8B%E9%A2%91%E7%B9%81%E7%BB%93%E6%9E%84%E6%8C%96%E6%8E%98&tn=SE_baiduxueshu_c1gjeupa&ie=utf-8&sc_us=8400883579086322051