-
割线算法
* To find a solution to the equation f(x) = 0* given initial approximations p0 and p1:** INPUT: initial approximation p0, p1; tolerance TOL;* maximum number of iterations N0.** OUTPUT: approximate solution p or* a message that the algorithm fails.*
- 2022-01-25 15:06:45下载
- 积分:1
-
hillcipher,虚无主义,普莱费尔,railfence,波里比阿
希利弗,虚无主义者,游乐场,围栏,波里比乌斯
- 2022-12-24 11:00:03下载
- 积分:1
-
NSGA-Ⅱ多目标优化算法
nsga2算法优化ZDT2测试函数。收敛到Pareto最优前沿,对于从事这方面算法工作的初学者们有很大的帮助。可以借鉴学习下
- 2022-03-05 21:57:29下载
- 积分:1
-
ACM Nankai University in 2008 summer training camp, the early sharing of code
南开大学2008年暑期ACM集训,初期共享代码-ACM Nankai University in 2008 summer training camp, the early sharing of code
- 2022-06-28 09:39:01下载
- 积分:1
-
没有界面,用C写的小程序 问题如下:一家软件公司招聘了数十位程序员,分成若干部门。 进行一次考试,对各个部门的所有程序员进行考核。考试结束后评出了每个人的分数。...
没有界面,用C写的小程序 问题如下:一家软件公司招聘了数十位程序员,分成若干部门。 进行一次考试,对各个部门的所有程序员进行考核。考试结束后评出了每个人的分数。现在需要知道,在每个部门内,成绩最好的程序员和成绩最差的程序员分别是谁。输入有N+1行,每一个有若干正整数。第一行只有一个正整数,代表公司的部门数目。剩余的N行,每一行代表了该部门所有程序员的得分。其中每行第一个数字k代表了该部门的程序员个数,该行剩下的有k对数据,每对数据包括一个程序员的姓名(一个字符串)和其得分(一个正整数)。【输出形式】输出有N行,每行有两个串。第一个串该部门得分最高的程序员的姓名,第二个数字是得分最低的程序员的姓名。-no interface, written in C minor procedural issues are as follows : a software company recruited dozens of programmers, divided into several departments. An examination of the various departments for testing all programmers. Examinations in 1886 after the end of each grade. Now need to know, in every sector, but the best programmers and the worst programmers who were. N input is a line, each one a number of positive integers. There is only a first positive integer representing the number of departments. The remaining N firms, each firm on behalf of all the sector"s programmers to the basket. Each Bank figures k a representative of the number of programmers, the bank left the k right d
- 2022-03-10 11:37:16下载
- 积分:1
-
演示cvhmm
面对 演示;识别方法
- 2022-03-22 22:12:43下载
- 积分:1
-
performance simulation of network_coding
应用背景In generated networks, selecting one node as source and some nodes as receivers in
random (single source multicast network), we make performance test for network
coding based multicast route algorithm (we put forward it ourselves, corresponding to
high multicast rate and low multicast rate), shortest path distribution tree route
algorithm (DIJKSTRA algorithm) and Maximum-rate distribution tree route
algorithm (PRIM algorithm), respectively.
关键技术
In this program, two things have been done: (1) generate random topologies (2)performance test。
network coding cap: 5.0000 dijk cap: 5.0000 prim cap: 5.0000 network coding res1: 0.0000--res2: 12.0000 dijk res: 14.0000 prim res: 14.0000 average degree: 2.
- 2022-11-16 07:10:03下载
- 积分:1
-
一元五次方程的求解
资源描述五次方程的数值求解!fortran程序已验证通过,使用时需建立一个方程的系数文本。运行程序时读取方程的系数。
- 2022-05-16 09:25:10下载
- 积分:1
-
C语言实现AES
Project作业,C语言实现AES算法,作业要求更改S-BOX,并输出每一个round的内容. 部分代码借鉴了网友的东西。
编写的很简单,给大家看一看,适合新手。希望大家能提出宝贵意见!
- 2023-02-10 03:45:03下载
- 积分:1
-
贪心算法解决部分背包问题
本程序研究了贪心算法,并把此算法用于部分背包问题上,基于C语言实现,达到最优解。所谓贪心算法是指,在对问题求解时,总是做出在当前看来是最好的选择。也就是说,不从整体最优上加以考虑,所做出的仅是在某种意义上的局部最优解。贪心算法不是对所有问题都能得到整体最优解,但对范围相当广泛的许多问题他能产生整体最优解或者是整体最优解的近似解。部分背包问题: 给定一个最大载重量为M的卡车和N种食品,有食盐,白糖,大米等。已知第 i 种食品的最多拥有Wi 公斤,其商品价值为Vi元/公斤,编程确定一个装货方案,使得装入卡车中的所有物品总价值最大。
- 2022-01-30 12:45:27下载
- 积分:1