由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Programming版 - [合集] A probability problem.
相关主题
一个算法求助Blind Passenger Problem (Brainteaser)
C++中如果处理数组的维数中的负数?三个半月的宝宝坐飞机需要买票吗?
python help ( probability distribution )An interview question about probability. (转载)
a probability interview question.An interview question about probability.
phonebook的怎么解啊纽约的出租车可以坐5个人吗
请推荐一个C的计算库周末娱乐题
根据一个probability density function产生随机数Equinox 1LT AWD 价格
参数换了不少结果都一样seat belt not working
相关话题的讨论汇总
话题: seat话题: problem话题: take话题: passengers
进入Programming版参与讨论
1 (共1页)
s*******e
发帖数: 664
1
☆─────────────────────────────────────☆
blaze (blaze) 于 (Wed Sep 9 17:42:23 2009, 美东) 提到:
(Might already been here before)
Say there's a plane with n seats for n passengers, where passenger i should
take seat i. However, the first guy was drunk when aboard, so he took a
random seat (which could be seat 1 as well). The rest of the passengers
will take his/her seat if it is still available, otherwise he/she will take
a random seat from the remaining empty seats.
The question is, what is th
1 (共1页)
进入Programming版参与讨论
相关主题
seat belt not workingphonebook的怎么解啊
passenger airbay 白色小灯亮了 请教请推荐一个C的计算库
穷破四刀想买个旧车,10W麦的caravan要9700贵吗根据一个probability density function产生随机数
passenger seat那个sensor什么原理?参数换了不少结果都一样
一个算法求助Blind Passenger Problem (Brainteaser)
C++中如果处理数组的维数中的负数?三个半月的宝宝坐飞机需要买票吗?
python help ( probability distribution )An interview question about probability. (转载)
a probability interview question.An interview question about probability.
相关话题的讨论汇总
话题: seat话题: problem话题: take话题: passengers