登录
首页 » 算法 » n first primes in c

n first primes in c

于 2022-07-02 发布 文件大小:13.14 kB
0 90
下载积分: 2 下载次数: 1

代码说明:

这个程序计算前n个素数。变量n由用户输入。

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

发表评论

0 个回复

  • This is a java language used by solving a dichotomy at a designated function on...
    这是一个用java语言编写的,用二分法求解某个函数在某个指定区间上的根,方便实用。-This is a java language used by solving a dichotomy at a designated function on the root zone, convenient and practical.
    2022-03-29 17:37:41下载
    积分:1
  • 一本关于FDTD的书。 介绍了FDTD基本理论和一些实际的应用...
    一本关于FDTD算法的书。 介绍了FDTD基本理论和一些实际的应用-FDTD algorithm on a book. FDTD introduce the basic theory and some practical applications
    2022-07-11 07:52:55下载
    积分:1
  • A* K短路
      所谓K短路,就是从s到t的第K短的路,第1短就是最短路。     如何求第K短呢?有一种简单的方法是广度优先搜索,记录t出队列的次数,当t第k次出队列时,就是第k短路了。但点数过大时,入队列的节点过多,时间和空间复杂度都较高。     A*是在搜索中常用的优化,一种启发式搜索。简单的说,它可以用公式表示为f(n) = g(n) + f(n),其中,f(n)是从s经由节点n到t的估价函数,g(n)是在状态空间中从s到n的实际代价,h(n)是从n到t的最佳路径估计代价。在设计中,要保证h(n)
    2023-06-26 04:50:02下载
    积分:1
  • 解决微分方程组/代数方程组Fortran
    解决微分方程组/代数方程组Fortran算法-This code solves a system of differential/algebraic equations of the form G(T,Y,YPRIME) = 0.
    2022-05-15 04:45:22下载
    积分:1
  • bfgs求全域最小数值点,c++源程序,文件读入套用方便
    bfgs算法求全域最小数值点,c++源程序,文件读入套用方便-bfgs domain algorithm ambitious minimum values, c source, the document read into the convenient use
    2022-07-18 00:09:59下载
    积分:1
  • 素数环: 把从1到10这10个数摆成一个环,要求相邻的两个数的和是一个素数。 〖问题分析〗 这是一道回溯的题目。从1开始,每个空位有9种可能,每种可能加入约束...
    素数环: 把从1到10这10个数摆成一个环,要求相邻的两个数的和是一个素数。 〖问题分析〗 这是一道回溯的题目。从1开始,每个空位有9种可能,每种可能加入约束条件即可 1.与前面所有的数不重复 2.与前一个数和为素数(最后一个和第一个也要满足)。 〖算法流程〗 1、数据初始化; 2、递归填数: 判断第J种可能是否合法; A、如果合法:填数;判断是否到达目标(10个已填完): 是,打印结果;不是,递归填下一个; B、如果不合法:选择下一种可能;-Prime Central: 1-10 from 10 the number of put this into a ring, asked the two adjacent numbers and is a prime number. 〗 〖Analysis is a retrospective this topic. From 1 year, 9 out of every space possible, each may be bound by the conditions of accession to 1. And in front of all the number of non-repetition, 2. With a few and for a prime number (the last and the first to meet). 1〗 〖algorithm processes the data to initialize 2, fill in the number of recursion: first to determine the legality of J possible A, if the legitimate: the number of Reclamation to determine whether the target (10 have been completed): Yes, print the results of not, fill in the next recursive B, if not legitimate: a possible alternative
    2022-03-13 12:39:07下载
    积分:1
  • 参数均衡在 TMS320C6000 DSP
    本应用报告详细介绍了TMS320C6000DSP平台上的多波段参数均衡器的实现。整个应用程序是用标准C;它达到的性能优良的电平,并允许用户通过在主机上的图形界面,以控制均衡器。此报告的目的是演示如何TI DSP产品和工具可以在专业音频应用中使用,并提出了这样的系统的解决方案。第一部分是专门为滤波器组的设计,其相关方程,编码,优化和基准;第二部分展示了如何TI工具可以利用此模块中的一个现实的专业音频环境的整合,本节介绍设置演示所需的步骤。甲TMS320C6711 DSK是必需的,并且任选的TLV320AIC23子板(24比特/96kHz的编解码器)。提供指导运行在硬件设置演示。
    2022-12-31 09:50:03下载
    积分:1
  • SSD5 exersice1
    SSD 5练习1 100%正确答案。包含下一个文件日期.cpp,广告.cpp, 客户.cpp;
    2022-06-27 08:26:26下载
    积分:1
  • calculator with GUI by C# visual studio
    calculator with GUI by C# visual studio
    2022-01-22 05:32:17下载
    积分:1
  • 数理统计Stutent s检验源代码,应用Visual C#编写。
    数理统计Stutent s检验源代码,应用Visual C#编写。-Mathematical Statistics Stutent s test source code, the application of Visual C# Prepared.
    2022-05-20 06:24:13下载
    积分:1
  • 696518资源总数
  • 105877会员总数
  • 14今日下载