-
closest point of the problem, realizing the partition method, random number gene...
最接近点对问题,分治法实现,随机生成N个数寻找最短路径的两个点-closest point of the problem, realizing the partition method, random number generation N to find the shortest path to the two points
- 2022-07-13 00:33:28下载
- 积分:1
-
K-均值在 C 编程
// kmeans.c//伊桑·布罗德斯基2011年//月#include#include#include#定义SQR(X)((X)*(X))#定义MAX_CLUSTERS16#定义MAX_ITERATIONS100#定义BIG_double(INFINITY)无效失败(字符*海峡){的printf(STR);出口(-1);}双calc_distance(INT暗淡,双* P1,双* P2){双distance_sq_sum= 0;对于(INT II=0;二
- 2023-07-21 00:35:03下载
- 积分:1
-
JDBC
数据库嵌入java内,通过java变成实现数据库的嵌入及调用,可向数据库中添加记录...
JDBC
数据库嵌入java内,通过java变成实现数据库的嵌入及调用,可向数据库中添加记录-JDBC
- 2022-02-14 08:13:39下载
- 积分:1
-
1
说明: The famous Collatz sequence is generated by a method decribed as follows. Given a positive integer N, if it is odd, then replace it with 3*N+1. For even number N, use N/2 instead. You can get a sequence of number by this method. It is conjectured that the algorithm above will terminate at 1 for any integral input value. Despite the simplicity of the algorithm, it is unknown whether this conjecture is true. It has been verified, however, for all integers n such that 0 < n < 1,000,000 (and, in fact, for many more numbers than this.)
(Input
The first line contains a single integer T tells that there are T cases in the problem. Then for each case, there is an integers N.
Output
For each number N, output the sequence generated in a line, using coma as its separator.
)
- 2012-12-08 20:33:43下载
- 积分:1
-
自编的波兰、逆波兰、中缀表达式计算的小程序,在VS2005下通过编译运行。...
自编的波兰、逆波兰、中缀表达式计算的小程序,在VS2005下通过编译运行。-Self of Poland, against Poland, in the calculation expression is made up of small procedures, in VS2005 to run through the compiler.
- 2022-06-13 15:50:46下载
- 积分:1
-
Visual C+++ SQL Server database development and an accompanying source code exam...
Visual C++ +SQL Server数据库开发与实例一书所附源代码-Visual C+++ SQL Server database development and an accompanying source code examples of
- 2023-09-06 23:05:04下载
- 积分:1
-
文章详细讲解分支限界的基本思想,单元最短路径问题,装载问题,0...
文章详细讲解分支限界的基本思想,单元最短路径问题,装载问题,0-1背包问题,旅游售货员问题等。-Detailed article on the basic idea of branch and bound, the shortest path problem unit, loading issues ,0-one knapsack problem, travel salesman problem.
- 2022-10-20 19:30:03下载
- 积分:1
-
算法新解
说明: 同时用函数式和传统方法介绍主要的基本算法和数据结构(Introduce the main basic algorithms and data structures with functional and traditional methods)
- 2019-03-01 21:42:37下载
- 积分:1
-
Huffman tree set up, and then leaves to the root by the Huffman encoding impleme...
建立赫夫曼树,然后再由叶子到根实现赫夫曼编码。-Huffman tree set up, and then leaves to the root by the Huffman encoding implementation.
- 2022-01-24 17:27:02下载
- 积分:1
-
学生管理系统项目
一个学生管理系统的常见功能是支持个人的维护和研究信息与有关的一名学生。下面的源代码和例子用于在一个学生管理系统 PHP 和 jQuery.
在项目文件部分中列出的源代码和包含在此项目中的文件,请确保列出的源代码,该代码是否满足您的需要那里。
- 2022-08-09 14:27:17下载
- 积分:1