全部版块 我的主页
论坛 提问 悬赏 求职 新闻 读书 功能一区 经管百科 爱问频道
608 0
2018-10-17
题目如下
Suppose you have a chessboard with N rows and M columns. Each time yourandomly select a blank cell in the chessboard and put a chessman on it, until eachrow and each column contains at least one chessman. Then what is the expectedvalue of the number of chessmen in the chessboard? Use R program to implementthe above process and compute the expected value.
我的想法是建立一个零矩阵,做循环检验每行每列元素之和是否大于等于1,但是写不出来程序,可能我的想法就出了问题,求助大佬们
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

栏目导航
热门文章
推荐文章

说点什么

分享

扫码加好友,拉您进群
各岗位、行业、专业交流群