登录
首页 » Visual C++ » 3

3

于 2013-09-11 发布 文件大小:28KB
0 272
下载积分: 1 下载次数: 2

代码说明:

  用刷选法求出100之内的素数。并输出数有多少个。(100 prime number is calculated by the method of selection. And the output count how many.)

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

发表评论

0 个回复

  • Hanio
    关于汉诺塔的代码,中间是用迭代的方法实现的(About Hanio Tower)
    2012-06-28 22:59:26下载
    积分:1
  • 82859165cifa
    编程序,按如下要求来求解n元一次线性方程组(假设方程组具有唯一解)。 (1)方程个数n之值由用户通过键盘输入; (2)方程组存放在“增广矩阵”A之中,而n行n+1列的A存储空间通过new来动态分配,且A的各元素值也由用户通过键盘输入 (Allocation procedures, the following requirements to solve the n-a system of linear equations (assuming a unique solution of equations). (1) the number n of the value equation by the user through the keyboard input (2) equations stored in the augmented matrix A, while n line n+ 1 column A storage space through the new dynamically allocated, and A The value of each element by the user through the keyboard input)
    2011-06-21 22:50:34下载
    积分:1
  • Lax-wendroff
    利用Lax-wendroff两步差分格式求解一维激波管问题Fortran语言(Use a two-step Lax-wendroff Difference Scheme for Solving the one-dimensional shock tube problem Fortran language)
    2020-07-02 13:40:02下载
    积分:1
  • ykb
    实对称矩阵特征值与特征向量的雅克比法,ap为是对称矩阵,vp返回特征向量(Real Symmetric Matrix Eigenvalues and Eigenvectors of the Jacobian method, ap is a symmetric matrix, vp return eigenvector)
    2020-08-03 17:18:34下载
    积分:1
  • udf_dpm_tongji
    fluent多相流DPM模型中使用用户自定义函数对颗粒进行统计(DPM fluent multiphase flow model using user-defined functions for particle statistics)
    2020-12-06 21:09:21下载
    积分:1
  • C
    说明:  含随机出题(四则运算)及其迭代程序、返回数组中最大子数组和及其迭代程序等。(Software class operations, including four operations and iterative procedure, returns an array of sub-arrays and the largest and Iterative procedures)
    2016-07-01 08:32:22下载
    积分:1
  • arithmetic
    arithemetic code on visual c++
    2009-12-20 18:53:54下载
    积分:1
  • shannon
    香农编码的C语言实现,VC++环境~~~~~~~~~~~~~~~~~~~~~~~~~(Shannon C-language coding, VC++ environment ~~~~~~~~~~~~~~~~~~~~~~~)
    2010-05-27 11:01:01下载
    积分:1
  • KMEANS
    This directory contains code implementing the K-means algorithm. Source code may be found in KMEANS.CPP. Sample data isfound in KM2.DAT. The KMEANS program accepts input consisting of vectors and calculates the given number of cluster centers using the K-means algorithm. Output is directed to the screen. Usage for KMEANS is: KMEANS SOURCEFILE <enter> The format of the source file is: NPat - Number of patterns (int) SizeVect - Size of vector (int) NClust - Number of cluster centers(int) vect[1,1] ... vect[1,SizeVect] - vector 1 (real) vect[2,1] ... vect[2,SizeVect] - vector 2 (real) . . . . . . vect[NPat,1] ... vect[NClust,SizeVector] - vector N (real) To compile: ICC KMEANS.CPP <enter> (This directory contains code implementing the K-means algorithm. Source code may be found in KMEANS.CPP. Sample data isfound in KM2.DAT. The KMEANS program accepts input consisting of vectors and calculates the given number of cluster centers using the K-means algorithm. Output is directed to the screen. Usage for KMEANS is: KMEANS SOURCEFILE <enter> The format of the source file is: NPat - Number of patterns (int) SizeVect - Size of vector (int) NClust - Number of cluster centers(int) vect[1,1] ... vect[1,SizeVect] - vector 1 (real) vect[2,1] ... vect[2,SizeVect] - vector 2 (real) . . . . . . vect[NPat,1] ... vect[NClust,SizeVector]- vector N (real) To compile: ICC KMEANS.CPP <enter> )
    2013-01-05 23:11:23下载
    积分:1
  • floorplanning-and-route
    Floor planning and route
    2014-03-04 05:33:40下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载