登录
首页 » C# » 利用随机数实现投骰子反复,记录值…

利用随机数实现投骰子反复,记录值…

于 2023-02-28 发布 文件大小:1.10 kB
0 134
下载积分: 2 下载次数: 1

代码说明:

用随机数实现投掷骰子多次,记录计算各个点值并打印其出现的概率。-Using random numbers to achieve cast dice repeatedly, recording the value of the calculation and print the various points of its probability.

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 3DView
    一个opengl编写的立方体多重纹理程序,将图片贴在立方体的六个面上,并可以控制旋转,使切片图像三维可视化。(A written opengl the cube multitexture procedures pictures posted on the six faces of the cube, and can control the rotation of the slice images of 3D visualization.)
    2013-03-27 22:46:28下载
    积分:1
  • Digital-Image-Processing
    介绍了如何利用 MATLAB 及其图像处理工具箱进行数字图像处理, 并通过一些例子来说明利用 MATLAB 图像处理工 具箱进行图像处理的方法。 (Introduction to digital image processing using MATLAB and its image processing toolbox, and through some examples to illustrate the use of MATLAB image processing Toolbox for image processing method.)
    2014-02-24 20:41:46下载
    积分:1
  • SplitSort
    Merge sort algrorithim implemementation in C#, and making use of mulitiple processors with MPI specification
    2014-08-24 23:45:17下载
    积分:1
  • control_no_out_.ino
    利用温度控制制冷设备运行,实现空调扇自动制冷(Using temperature control refrigeration equipment to realize automatic refrigeration of air conditioning fan)
    2020-06-20 07:40:01下载
    积分:1
  • c
    说明:  约瑟夫问题的实现:设有n个人围坐在圆桌周围,现从某个位置m(1≤m≤n)上的人开始报数,报数到k的人就站出来。下一个人,即原来的第k+1个位置上的人,又从1开始报数,再报数到k的人站出来。依此重复下去,直到全部的人都站出来为止。试设计一个程序求出出列序列。(Joseph realized the problem: There are n people sitting around the round table, is from a position of m (1 ≤ m ≤ n) reported on the number of people began to be reported to the k number of people to come forward. The next person, that is, the original positions on the first k+1 people, and from the number reported at 1, then the number reported to the k to stand up. So repeat this until all the others can stand up. Try to design a program derived from the column sequence.)
    2011-03-23 15:36:50下载
    积分:1
  • ASP.NET-WorkFlow-Approval-System
    ASP.NET开发的基于WorkFlow工作流批核系统(The ASP.NET development based WorkFlow workflow approval system)
    2013-01-08 15:28:39下载
    积分:1
  • Battle over cities(Hard Version)
     Battle Over Cities - Hard Version   (20分) It is vitally important to have all the cities connected by highways in a war. If a city is conquered by the enemy, all the highways from/toward that city will be closed. To keep the rest of the cities connected, we must repair some highways with the minimum cost. On the other hand, if losing a city will cost us too much to rebuild the connection, we must pay more attention to that city. Given the map of cities which have all the destroyed and remaining highways marked, you are supposed to point out the city to which we must pay the most attention. Input Specification: Each input f
    2022-02-05 11:16:01下载
    积分:1
  • [emuch.net]CompressedPSensingPTheory
    很好的压缩感知的国外的书籍材料,对于我们的学习,尤其初学者很有帮助(ON划词翻译ON实时翻译 Very good material of compressed sensing of foreign books, for our learning, especially for beginners very helpful)
    2014-11-24 09:15:55下载
    积分:1
  • dianyingtuijian-(1)
    电影推荐系统,学校要求做的,vc,比较简单(Movie recommendation system, the school asked to do, vc, is relatively simple)
    2012-07-07 18:59:41下载
    积分:1
  • spinverter
    单相光伏并网逆变器 孤岛检测 双环控制 MPPT最大功率追踪(Single-phase photovoltaic inverter islanding detection dual-loop control)
    2015-11-25 13:16:39下载
    积分:1
  • 696518资源总数
  • 106208会员总数
  • 21今日下载