-
最件单的求值问题..就是求井深和绳长的问题,,我还是个初学者...
最件单的求值问题..就是求井深和绳长的问题,,我还是个初学者-most pieces of the single-issue .. evaluates depth and is seeking a long rope, and I was a beginner, and laughter
- 2022-07-19 00:03:09下载
- 积分:1
-
各种高效率排序总结。不看后悔。
冒泡排序 ,堆排序,快速排序,二分法排序(折半排序),归并排序,选择排序,
- 2022-02-15 04:22:39下载
- 积分:1
-
一些矩阵运算的C代码实现:矩阵一般运算,以及求逆,QR分解,householder变化,LDU, LU分解...
一些矩阵运算的C代码实现:矩阵一般运算,以及求逆,QR分解,householder变化,LDU, LU分解-some matrix calculation of C code to achieve : Matrix general computing, and inversion, QR decomposition, the householder changes, LDU, LU decomposition, etc.
- 2022-03-19 11:41:21下载
- 积分:1
-
图搜索解决八数码问题
图搜索是人工智能的核心技术之一,图搜索技术室人工智能的核心技术之一,图搜索控制策略是一种在图中搜索路径的一种方法。初始节点和目标节点分别代表初始数据库和满足终止条件的目标数据库,求得把一个数据库变换为另一个数据库的规则序列问题就等价于求得图中一条路径的问题。本代码使用盲目搜索中的深度优先搜索与宽度优先搜索解决八数码问题,您可以根据需要改编程序达到自己的目的。
- 2022-01-21 01:00:25下载
- 积分:1
-
科学计算和C程序集,有好多算法实现,很有用的有
科学计算和C程序集,有好多算法实现,很有用的有-Scientific Computing and C procedures set has a lot of algorithms, have useful
- 2022-06-30 14:27:25下载
- 积分:1
-
Dichotomy for solving nonlinear equations a root, you can calculate the approxim...
二分法求解非线性方程的一个根,可以计算出一般非线性方程的近似解-Dichotomy for solving nonlinear equations a root, you can calculate the approximate solution of general nonlinear equations
- 2023-02-22 22:25:03下载
- 积分:1
-
人工智能实验,野人与传教士问题的源码,vc++编译。
人工智能实验,野人与传教士问题的源码,vc++编译。-Artificial intelligence experiments, Savage and missionaries problem code, vc++ compiler.
- 2023-02-13 02:10:03下载
- 积分:1
-
sporting学生运动会
学生运动会成绩数据库系统记录某校运动会上全部运动项目,各系获得的分数及排名的情况,包括50、100、200,400,1500米,
跳高,跳远,标枪,铅球铁饼等。进入系统后可以输入和修改某个项目的结果情况,可以按各系院编号输出总分;
按总分排序;按男团体总分排序 ;按系院编号查询;按项目编号查询;按女团体总分排序。
分步实施:
1) 初步完成总体设计,搭好框架,确定人机对话的界面,确定函数个数;
2) 完成最低要求:建立一个文件,包括某个系,5个项目的得分情况,能对文件中的信息进行扩充(追加),修改和删除;
3) 进一步要求:完成对多个系,多个项目的得分排序,以及完成系统查询功能。有兴趣的同学可以自己扩充系统功能。
键盘输入:系院数目,男子项目数女子项目数,(每项目取前三名,分别为10,5,2分)
- 2022-08-02 12:37:19下载
- 积分:1
-
正整数x 的约数是能整除x 的正整数。正整数x 的约数个数记为div(x)。例如,1,2,5,10 都是正整数10 的约数,且div(10)=4。设a 和b 是...
正整数x 的约数是能整除x 的正整数。正整数x 的约数个数记为div(x)。例如,1,2,5,10 都是正整数10 的约数,且div(10)=4。设a 和b 是2 个正整数,a≤b,找出a 和b之间约数个数最多的数x。
对于给定的2 个正整数a≤b,编程计算a 和b 之间约数个数最多的数。
数据输入
输入数据由文件名为input.txt的文本文件提供。文件的第1 行有2 个正整数a和b。
结果输出
程序运行结束时,若找到的a 和b 之间约数个数最多的数是x,将div(x)输出到文件output.txt中。
输入文件示例 输出文件示例
input.txt output.txt
1 36 9
-Positive integer x can be about a few of the positive integer x divisible. Positive integer x the approximate number recorded as the number of div (x). For example, 1,2,5,10 are about 10 positive integer number, and div (10) = 4. Set a and b are two positive integers, a ≤ b, to find a and b between about a few number of the largest number of x. For a given two positive integers a ≤ b, Programming calculated a and b between about a few number of the largest number. Data entry input data from the document text file named input.txt provide. File line 1 has two positive integers a and b. The results run the end of the output, if found between a and b of about a few number o
- 2023-04-13 05:20:03下载
- 积分:1
-
本书是国内外业界广泛关注的7卷本《计算机程序设计艺术》第2卷的最新版。本卷对半数值算法领域做了全面介绍,分“随机数”和“算术”两章。本卷总结了主要算法范例及这些...
本书是国内外业界广泛关注的7卷本《计算机程序设计艺术》第2卷的最新版。本卷对半数值算法领域做了全面介绍,分“随机数”和“算术”两章。本卷总结了主要算法范例及这些算法的基本理论,广泛剖析了计算机程序设计与数值分析间的相互联系,其中特别值得注意的是作者对随机数生成程序的重新处理和对形式幂级数计算的讨论。 本书附有大量习题和答案,标明了难易程度及数学概念的使用。 本书内容精辟,语言流畅,引人入胜,可供从事计算机科学、计算数学、计算技术诸方面的工作人员参考、研究和借鉴,也是相关专业高等院校的理想教材和教学参考书。 -the book industry at home and abroad is widespread concern in seven volumes of the "Art of Computer Programming" volume 2, the latest version. The present volume of semi- numerical algorithm to do a full field, at the "random" and "arithmetic" two chapters. This volume summary of the main examples of these algorithms on the basic theory and extensive analysis of the computer program design and numerical analysis of the linkages between, which is particularly noteworthy is the author of Random Number Generation procedures for processing and re-form calculation of power series. The book with a large number of exercises and answers, indicating the degree of difficulty and the use of mathematical concepts. T
- 2022-08-07 04:44:02下载
- 积分:1