-
SSD5 Exercise1
题目:Building the Core Classes Submission Submit only the following. 1. Advertisement.cpp - finished implementation of class
- 2022-07-24 04:01:51下载
- 积分:1
-
计算文本中数列的配对总和接近某数
老婆做会计,公司是买通讯柜的,需要计算面积总和接近某数的多少次交易,本人使用的算法的基本原理为,先算出在总数列中N次的排列组合可能性,然后随机刷出组合,未记录的加入记录中,得出所有组合后,依次判断其与预设总数的接近程度,得出最佳组合
- 2022-08-04 03:31:29下载
- 积分:1
-
二维稳态无源热传导方程的迭代求解
通过使用Fortran语言FTCS离散格式计算二维非稳态无源热传导方程在方形域里的稳态解,输出为data文件,可用tecplot等后处理工具进行图形化。对于CFD的初学者有一定的帮助作用
- 2023-01-11 08:40:04下载
- 积分:1
-
词法分析器
实现编译系统的词法分析功能,是后续语法分析,语义分析的基础和重要环节。
- 2022-02-24 11:27:50下载
- 积分:1
-
In this paper, the Monte Carlo method to equation y = sin (x)+ X with the equati...
本文采用蒙特卡洛方法,将方程y=sin(x)+x与方程y=cos(x)+x之间的曲线包络面积求解出来。-In this paper, the Monte Carlo method to equation y = sin (x)+ X with the equation y = cos (x)+ X between the envelope curve out an area to solve.
- 2022-01-25 23:23:06下载
- 积分:1
-
已知一个单链表L编写一个删除L中值为x结点的直接前驱结点的程序。
#include
#include
#include
typedef int ElemType; // 定义数据结构元素的数据类型
#define LIST_INIT_SIZE 10 // 线性表存储空间的初始分配量
#define LISTINCREMENT 5 // 线性表存储空间的分配增量
// 线性表的动态分配顺序存储结构
ty
- 2022-03-13 17:25:00下载
- 积分:1
-
小波变换c语言程序
本程序是c语言原程序,实现小波变换算法
- 2022-03-05 07:01:01下载
- 积分:1
-
蒙特卡罗算法解集合相等问题
«问题描述:给定2 个集合S和T,试设计一个判定S和T是否相等的蒙特卡罗算法。«编程任务:设计一个算法,对于给定的集合S和T,判定其是否相等。«数据输入:由文件input.txt 给出输入数据。第一行有1 个正整数n,表示集合的大小。接下来的2行,每行有n个正整数,分别表示集合S和T中的元素。«结果输出:将计算结论输出到文件output.txt。集合S和T相等则输出YES,否则输出NO。输入文件示例 输出文件示例input.txt output.txt3 YES2 3 77 2 3
- 2022-02-14 21:38:35下载
- 积分:1
-
a description of the problem is : No. 1, 2, ..., n n clockwise direction by indi...
约瑟夫问题的一种描述是:编号为1,2,…,n的n个人按顺时针方向围坐一圈,没人持有一个密码。一开始人选一个正整数作为报数上限值m,从第一个人开始按顺时针自1开始报数,报到m是停止报数。报m的人出列,将他的密码作为新的m值,从他在顺时针方向上的下一个人开始重新从1报数,如此下去,直至所有人全部出列为止。-a description of the problem is : No. 1, 2, ..., n n clockwise direction by individuals sitting around a circle, no one holding a password. One person started as a positive integer limits on the number of reported m, from the first individuals to embark on the clockwise from a few reportedly started, the report m is reportedly stopped a few. M reported out of the list of his password as a new value m, from a clockwise direction in the next re-started from a newspaper a few, like that, until the total of all listed so far.
- 2022-02-03 16:31:48下载
- 积分:1
-
SHA-1 Algorithm implemented in C
在我的项目中,我用C语言实现了一个SHA-1算法。我尽量使它简单易懂。输入是一个测试文件,输出是编码字符串。
- 2023-09-02 07:10:08下载
- 积分:1