-
回溯法解N后的C++源码(Visual Stdio2010环境测试通过)
#include #include #include #include using namespace std;class Queen{ friend int nQueen(int);private: bool Place(int k); void Backtrack(int t); void Output(); int n,//皇后个数 *x;//当前解 long sum;//当前已找到的可行性方案数};bool Queen::Place(int k){ for (int j=1;jn) { sum++; Output(); } else { for (int i=1;i
- 2022-02-06 19:11:54下载
- 积分:1
-
matlab,vb下的snake算法
matlab,vb下的snake算法-Matlab, vb the snake algorithm
- 2022-01-25 14:58:43下载
- 积分:1
-
一个正整数的集合S,c是一个正整数,在s的子集中判断是否存在子集和为c的子集...
一个正整数的集合S,c是一个正整数,在s的子集中判断是否存在子集和为c的子集-A set of positive integers S, c is a positive integer, in the subset of s, to determine whether there is a subset of a subset of and for the c
- 2022-03-23 14:57:41下载
- 积分:1
-
产生大素数
产生一个大素数并对其进行检验
基本原理:
费尔马小定理:如果p是一个素数 请点击左侧文件开始预览 !预览只提供20%的代码片段,完整代码需下载后查看 加载中 侵权举报
- 2022-02-28 08:51:04下载
- 积分:1
-
可以很好的实现数学中的算法
可以很好的实现数学中的算法-can achieve good mathematics algorithm
- 2022-01-25 22:11:17下载
- 积分:1
-
常微分和偏微分方程中的c程序,C++,Fortran,java,马…
Ordinary and Partial Differential Equation Routines in C, C++, Fortran, Java, Maple, and MATLAB
- 2022-02-01 17:40:08下载
- 积分:1
-
此程序是一个加,减,乘,除的算法.
此程序是一个加,减,乘,除的算法.-This procedure is an add, subtract, multiply, with the exception of the algorithm.
- 2022-07-22 17:35:49下载
- 积分:1
-
possion方程的fem求解,生成刚度阵。欢迎提出宝贵意见。
possion方程的fem求解,生成刚度阵。欢迎提出宝贵意见。-fem for solving the possion equation ,stiffness matrix is generated. Welcome to give valuable advice.
- 2022-07-02 04:24:17下载
- 积分:1
-
Abroad, a professor at the University of sermon, with the relevant source code,...
国外一大学教授讲章,附相关源程序,关于计算电磁学中的FDTD,详见内中chapter4-Abroad, a professor at the University of sermon, with the relevant source code, with regard to computational electromagnetics in the FDTD, see inside of chapter4
- 2022-06-17 16:49:54下载
- 积分:1
-
通过一系列的数据来预测和分析方法。ARMA算法
通过使用ARMA算法对一系列数据进行预测,并分析预测规律-ARMA algorithm by using a series of data to predict and analyze the prediction rule
- 2022-09-03 19:00:03下载
- 积分:1