-
回溯法解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
-
一个可以计算出的日期,是目前的一年,是前几天…
用C语言编写一个能计算当前日期是本年第几天的程序(可区分闰年问题哦)-C language one can calculate the date of the current year is the first few days of proceedings (which can distinguish between a leap year problem oh)
- 2022-03-04 07:46:37下载
- 积分:1
-
ADC转换(DMA方式)
应用背景模拟信号与数子信号转换在很多方面都有应用,stm32内置ad转换电路可以方便的进行转换关键技术通过stm32编写的ad转换,实现模拟量转数字量,通过dma传输方式可以快速的传输数据,不过多的占用CPU。
- 2022-03-22 14:21:40下载
- 积分:1
-
循环队列选舞伴
刚刚接触学习数据结构,针对选舞伴的问题,用顺序存储的循环队列来实现该问题,是一个比较基础的实现,跟大家一起来共享,里边标注了很详细的说明,根据提示输入就可以运行,希望对大家有帮助。
- 2022-05-24 13:22:16下载
- 积分:1
-
刚刚下载的指纹识别程序,我还没来的及看呢?
刚刚下载的指纹识别程序,我还没来的及看呢?- Just downloaded the fingerprint recognizer, I have not come
and look?
- 2022-05-31 08:55:55下载
- 积分:1
-
本程序适用于求解形如f(x)=1/2*x Ax+bx+c二次函数的稳定点
本程序适用于求解形如f(x)=1/2*x Ax+bx+c二次函数的稳定点-This procedure applies to solution of the form f (x) = 1/2* x" Ax+ bx+ c quadratic function of the stable point
- 2022-02-01 20:57:59下载
- 积分:1
-
Dijkstra算法
在vc++ 6.0中用c++语言,编写计算最短路径的Dijkstra算法,采用邻接矩阵的存储结构。
- 2022-03-22 19:44:55下载
- 积分:1
-
Fortran 90
Fortran 90
- 2022-02-03 19:34:59下载
- 积分:1
-
非线性方程不能消除和分解方法求解,…
非线性方程组不能用消去和分解法进行求解,jacabi迭代和高斯迭代是最常用的两种迭代方法-Nonlinear equations can not be eliminated and the decomposition method to solve, jacabi iteration and Gauss iteration is the most commonly used two types of iterative methods
- 2022-01-26 07:01:24下载
- 积分:1
-
模运算MOD的相关运算
用于密码学最最基本的模运算中,或者是说信息安全数学基础中的相关运算。
不仅仅有代码,还有相关的PDF文档的说明,希望能对密码学的初学者有帮助。
- 2022-04-14 22:59:32下载
- 积分:1