登录
首页 » C# » 100yineisushu

100yineisushu

于 2018-06-13 发布 文件大小:12KB
0 313
下载积分: 1 下载次数: 0

代码说明:

  1-100之间有多少个素数,并输出所有素数及素数的个数。 ???? 程序分析:判断素数的方法:用一个数分别去除2到sqrt(这个数),如果能被整除,则表明此数不是素数,反之是素数。(How many prime numbers are there between 1-100 and output all prime numbers and prime numbers. The method of judging prime number: 2 to sqrt (this number) is removed by one number, and if it can be divided, the number is not prime, and vice versa.)

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

发表评论

0 个回复

  • login
    用户登入的检查代码,防止用户名重复和密码不复合规则(Check the user login code to prevent duplication of user name and password is not complex rules)
    2009-10-16 10:31:11下载
    积分:1
  • ruanqidong
    自己建的三相异步电机软启动模型,亲测可用(The soft start model of the three phase asynchronous motor is built by oneself, which can be measured and available.)
    2018-03-14 09:36:41下载
    积分:1
  • hulf
    说明:  设计一个哈夫曼编码器 要求对一段数据序列进行哈夫曼编码,使得平均码长最短,输出各元素编码和编码后的数据序列。 ① 组成序列的元素是[0-9]这10个数字,每个数字其对应的4位二进制数表示。比如5对应0101,9对应1001。 ② 输入数据序列的长度为256。 ③ 先输出每个元素的编码,然后输出数据序列对应的哈夫曼编码序列。(Designing a Huffman Encoder Huffman coding is required for a data sequence to minimize the average code length and output the coded and coded data sequence of each element. (1) The elements that make up the sequence are the 10 digits [0-9], and each digit is represented by its corresponding 4-bit binary number. For example, 5 corresponds to 0101, 9 corresponds to 1001. (2) The length of the input data sequence is 256. (3) First output the encoding of each element, and then output the Huffman encoding sequence corresponding to the data sequence.)
    2019-06-19 21:49:58下载
    积分:1
  • uplink grant free NOMA in 5G
    说明:  uplink grant free NOMA in 5G
    2020-09-08 14:58:04下载
    积分:1
  • Labview电子教程,希望大家有用
    Labview电子教程,希望大家有用-labview,hope it can help you....
    2022-06-13 06:35:41下载
    积分:1
  • 取得屏幕的分辨率
    取得屏幕的分辨率-made screen resolution
    2022-10-01 22:25:03下载
    积分:1
  • 迷宫问题
    此为回溯法求解迷宫问题的源代码,问题描述如下: 迷宫问题的求解是实验心理学的一个经典问题.,心理学家把一只老鼠从一个无顶盖的大盒子的入口赶进迷宫,迷宫中设置很多壁障,对前进方向形成了多处障碍,心理学家在迷宫的唯一出口放置了奶酪,吸引老鼠在迷宫中寻找通路以到达出口。设计回溯算法实现迷宫求解。(Retrospective method)
    2020-06-16 01:40:01下载
    积分:1
  • py-faster-rcnn-master
    fast-rcnn源码,可用于快速目标检测,如行人识别 车辆识别 车标识别(This is an sourcecode for python fast-rcnn)
    2017-12-22 17:40:46下载
    积分:1
  • VHDL语言设计的出租车计费系统,们的指导下完成…
    VHDL语言设计的出租车计费系统,在老师的指导下完成的,并在实验箱上测试通过。-VHDL language design taxi billing system, completed under the guidance of their teachers, and the experiment on the test box.
    2023-07-08 20:35:02下载
    积分:1
  • 整车14自由度simulink车辆动力学模型
    说明:  本模型是自己搭建的14自由度simulink车辆动力学模型,仅供参考(This model is a 14 DOF Simulink vehicle dynamics model built by ourselves for reference only)
    2020-11-17 17:49:40下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载