登录
首页 » 算法 » 求解一个数是否为素数

求解一个数是否为素数

于 2022-06-01 发布 文件大小:110.66 kB
0 222
下载积分: 2 下载次数: 1

代码说明:

大学C语言作业练习,求解一个数是否是素数,通过运行程序,输入一个数字,程序将自动判断这个数是否为素数。给出相应的结果。

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

发表评论

0 个回复

  • 多元数组得各类运
    多元数组得各类运算-multiple arrays in various operations
    2022-07-17 21:53:35下载
    积分:1
  • C语言小程序,学习指针运的各种
    C语言小程序,学习指针运算的各种算法-C language small program, the Operational Guidelines learning algorithms
    2022-07-16 08:23:00下载
    积分:1
  • 蚁群聚类
    带有测试数据的蚁群算法,可以指定检测区域的大小,经过测试,可以运行,有需要的可以看看。
    2022-06-21 11:21:07下载
    积分:1
  • 这是一个利用VC++编写的求解极值的多元的二次方程程序,在WindowsXP运行成功。...
    这是一个利用VC++编写的求解极值的多元的二次方程程序,在WindowsXP运行成功。-This is a VC solution prepared by the extreme diversity of the quadratic equation procedures, the successful running WindowsXP.
    2022-01-28 19:24:36下载
    积分:1
  • delauney二维非结构网格生成过程中使用的语言
    delauney二维非结构化网格生成程序 采用fortran语言-Delauney 2D unstructured mesh generation process using FORTRAN language
    2022-07-12 00:48:11下载
    积分:1
  • fft的文件,fortran环境下运行!欢迎指正!
    fft的文件,fortran环境下运行!欢迎指正!-fft documents, fortran environment running! Please correct me!
    2022-07-15 00:39:50下载
    积分:1
  • 这是一个简单的演示如何评价文本的数学表达式
    This a simple demo of how to evaluate mathematical expressions in text format, including provision for variables and functions. The code consists of three simple classes: 1) Calc - which does the main calculations, 2) Stack - which is used to push and pop intermediate operators and numbers and 3) Symbol Table. The symbol table is a collection of calc symbols, a type structure consisting of various elements, including the expression name, function name, and the final value of the expression The evaluation procedure is done in three steps: 1) simplify the expression by removing all the elements within () and storing them in subexpressions within the symbol table. 2) Each of these sub expressions are then converted to RPN format (Reverse polar notation) and evaluated 3) Finally, the main expression is converted to RPN and evaluated-This is a simple demo of how to evaluate mathematical expressions in text format, including provision for variables and functi
    2022-02-20 06:26:41下载
    积分:1
  • 输入汉诺塔的总阶数,就可以显示汉诺塔的移动步骤,即每一步的移动,最后显示移动的总次数...
    输入汉诺塔的总阶数,就可以显示汉诺塔的移动步骤,即每一步的移动,最后显示移动的总次数-Enter the Tower of Hanoi s total order, we can show the movement of Hanoi Tower, that is, to every step of the movement, and finally show the total number of mobile
    2022-03-20 23:25:21下载
    积分:1
  • Mr. foolish to write him five friends, he wrote five letters, but when his frien...
    糊涂先生给他的五个朋友写信,他写了五封信,但是当他的朋友收到信后,都告诉他:“你的信寄错了”。那么请你计算一下:出现这种情况的概率有多少?(假设糊涂先生是随机地往信封里装信的),你能不能把所有的情况都列出来呢-Mr. foolish to write him five friends, he wrote five letters, but when his friend received a letter, told him:
    2022-01-25 16:38:13下载
    积分:1
  • 3D FDTD simulation of a center-fed half-wave dipole antenna
    3 D FDTD 模拟的中心 — — 半波偶极天线。仿真技术进行了时域有限差分网格尺寸: nx*ny*nz*nt = 80*80*50 * 210。吸收边界是目前 (贝朗热的技术) 组成的最外层10 层。
    2022-01-29 01:52:18下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载