登录
首页 » 算法 » C#实现求1000以内被7整除的数

C#实现求1000以内被7整除的数

于 2022-10-19 发布 文件大小:20.00 kB
0 201
下载积分: 2 下载次数: 1

代码说明:

求出1-1000之间的所有能被7整除的数,并计算和输出每5个的和,控制台应用程序。

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

发表评论

0 个回复

  • 用MATLAB编写的运用Monte Carlo method数值积分的实例程序。可供初学者参考学习!...
    用MATLAB编写的运用Monte Carlo method数值积分的实例程序。可供初学者参考学习!-TETRAHEDRON_MONTE_CARLO is a MATLAB library which estimates the integral of a function over a tetrahedron using the Monte Carlo method. The library makes it relatively easy to compare different methods of producing sample points in the tetrahedron, and to vary the tetrahedron over which integration is carried out.
    2022-02-21 17:32:42下载
    积分:1
  • Delaunay剖分Bowyer Watson
    应用背景 基于MS Visual Studio 2010的C++算法设计。 三维建模中,最重要的一步就是平面区域的三角网格剖分。一般来说有很多方法可以实现这一步,比如贪心算法,周培德算法。但是效果最好的应当是Delaunay方法。本代码采用了Delaunay方法的Bowyer-Watson算法。 关键技术 Bowyer-Watson算法。 数据结构支持off文件的数据格式。 设计按照Delaunay剖分方法,执行Bowyer-Watson算法。 当运算结点过多时,程序占用资源较大。 读入读出均为off文件。
    2022-12-11 14:00:03下载
    积分:1
  • 基于Matlab的GMM实现
    高斯混合模型(GMM)算法利用matlab实现,主函数信息如下:%   emgmm:GMM参数生成函数%   Input:%              Data:      D x N ,N个D维数据%              Alpha0: Gauss模型的权重初始值%              Mu0:      D x M,Gauss模型的中心初始值%              Sigma0:Gauss模型的方差初始值(假设每个方差矩阵都是对角阵, 即一个数和单位矩阵的乘积)%              loglikthreshold:EM迭代停止条件%   Output:%              [Alpha, Mu, Sigma]:高斯混合模型参数
    2022-03-10 08:23:18下载
    积分:1
  • 将C语言转换成汇编语言
    将C语言转换成汇编语言-C language into assembler language
    2022-03-07 03:18:38下载
    积分:1
  • Sequencing method using the maximum number of sort will be a string of numbers a...
    排序方法采用最大数排序,将一串数字按大小排列!每次一个数字比下一个最大的发布到前面都是做循环后出现的结果
    2022-12-14 11:45:03下载
    积分:1
  • 搜索部分使用minmax递归,alphabeta剪枝,初期和中期搜索6层,最后部分搜索15层。评估主要是最小行动力,加以位置值的相关判断...
    搜索算法部分使用minmax递归,alphabeta剪枝,初期和中期搜索6层,最后部分搜索15层。评估算法主要是最小行动力,加以位置值的相关判断- The search algorithm partially uses the minmax recursion, the alphabeta pruning, the initial period and the intermediate stage searches 6, finally partially searches 15. Appraised the algorithm mainly is the smallest good power, performs the position value the correlation to judge
    2023-02-28 03:35:04下载
    积分:1
  • 生成最小生成树
    最小生成树算法,将节点 构成的图转换为最小生成树。可用于计算某个节点到另外一些节点的最短距离 
    2022-02-06 01:48:41下载
    积分:1
  • 现代信号处理这本书中的MATLAB代码。现代信号处理这本书可谓同类图书中的经典,包含了小波,自适应等程序。...
    现代信号处理这本书中的MATLAB代码。现代信号处理这本书可谓同类图书中的经典,包含了小波,自适应算法等程序。-Modern signal processing MATLAB code in this book. Modern signal processing This book can be described as similar books in the classic, including the wavelet, adaptive algorithms and other procedures.
    2022-03-10 08:08:23下载
    积分:1
  • 图像处理中的基本运
    数字图像获取、处理和实践——很多图像处理有用的源代码,图像增强(均值滤波3*3,5*5,中值滤波),边缘检测(sobel算子,拉普拉斯算子,reborts算子),图像分割(固定阈值分割,最大类间方差阈值分割)等
    2022-05-19 03:02:12下载
    积分:1
  • 正整数x 的约数是能整除x 的正整数。正整数x 的约数个数记为div(x)。例如,1,2,5,10 都是正整数10 的约数,且div(10)=4。设a 和b 是...
    正整数x 的约数是能整除x 的正整数。正整数x 的约数个数记为div(x)。例如,1,2,5,10 都是正整数10 的约数,且div(10)=4。设a 和b 是2 个正整数,a≤b,找出a 和b之间约数个数最多的数x。 对于给定的2 个正整数a≤b,编程计算a 和b 之间约数个数最多的数。 数据输入 输入数据由文件名为input.txt的文本文件提供。文件的第1 行有2 个正整数a和b。 结果输出 程序运行结束时,若找到的a 和b 之间约数个数最多的数是x,将div(x)输出到文件output.txt中。 输入文件示例 输出文件示例 input.txt output.txt 1 36 9 -Positive integer x can be about a few of the positive integer x divisible. Positive integer x the approximate number recorded as the number of div (x). For example, 1,2,5,10 are about 10 positive integer number, and div (10) = 4. Set a and b are two positive integers, a ≤ b, to find a and b between about a few number of the largest number of x. For a given two positive integers a ≤ b, Programming calculated a and b between about a few number of the largest number. Data entry input data from the document text file named input.txt provide. File line 1 has two positive integers a and b. The results run the end of the output, if found between a and b of about a few number o
    2023-04-13 05:20:03下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载