谢谢lulijie!
期望值,符合“容斥原理”。结果很好!
delphi程序模拟结果是:
50000000 rounds average number of times = 12.36207534
50000000 rounds average number of times = 12.36278458
50000000 rounds average number of times = 12.36109244
50000000 rounds average number of times = 12.36272186