-
一元稀疏多项式计算器[加法和乘法] 问题描述: 设计一元系数多项式计数器实现两个多项式间的加法、减法。 基本要求: (1) 输入并建立多项式 (2) 输出多项式...
一元稀疏多项式计算器[加法和乘法] 问题描述: 设计一元系数多项式计数器实现两个多项式间的加法、减法。 基本要求: (1) 输入并建立多项式 (2) 输出多项式,输出形式为整数序列:n,c1,e1,c2,e2……cn,en,其中n是多项式的项数,ci,ei分别为第i项的系数和指数。序列按指数降序排列。 (3) 多项式a和b相加,建立多项式a+b,输出相加的多项式。 (4) 多项式a和b相减,建立多项式a-b,输出相减的多项式。 用带表头结点的单链表存储多项式。 测试数据: (1) (2x+5x8-3.1x11)+(7-5x8+11x9) (2) (6x-3-x+4.4x2-1.2x9)-(-6x-3+5.4x2+7.8x15) (3) (x+x2+x3)+0 (4) (x+x3)-(-x-x-3)-one yuan sparse polynomial calculator [Addition and multiplication] Problem description : Design one yuan polynomial coefficient counter achieve the two polynomials addition, subtraction. Basic requirements : (a) input and the establishment of polynomial (2) output polynomial, the output form of integer sequence : n, c1, e1, c2, e2 ... cn, en, where n is the polynomial Number, ci, ei for the first item i the coefficients and indexes. By sequencing index in descending order. (3) a and b polynomial addition, the establishment of a polynomial b, the combined output polynomial. (4) a and b polynomial subtraction, the establishment of a polyno
- 2022-10-15 00:45:03下载
- 积分:1
-
使用VC编写的线性表程序,简单明了,方便使用
使用VC编写的线性表程序,简单明了,方便使用-Written in linear form using the VC program, simple and clear, easy to use
- 2023-04-08 04:30:03下载
- 积分:1
-
改良的新型遗传算法,增加了父代与子代的杂交,适合特殊问题求解。...
改良的新型遗传算法,增加了父代与子代的杂交,适合特殊问题求解。-New improved genetic algorithm, an increase of parent and offspring of the hybrids, suitable for specific problem-solving.
- 2022-02-22 05:59:01下载
- 积分:1
-
这是俺编写的一个堆栈,采用模版函数编写,面向过程设计,供大家参考...
这是俺编写的一个堆栈,采用模版函数编写,面向过程设计,供大家参考-I prepared a stack, using templates prepared function, process-oriented design, for your reference
- 2022-08-11 03:57:59下载
- 积分:1
-
一个数据结构的课程设计
一个数据结构的课程设计-a data structure of the curriculum design
- 2022-01-28 13:44:47下载
- 积分:1
-
常用结构源码
希望大家好好看看 很有帮助
常用结构源码
希望大家好好看看 很有帮助
-Common structure of source code I hope everyone a good look at helpful
- 2022-05-08 13:01:07下载
- 积分:1
-
C语言,数据结构。通过二分法求解方程的根值
C语言,数据结构。通过二分法求解方程的根值-C language data structures. Through the dichotomy solving the root of the value equation. . .
- 2022-03-30 19:02:50下载
- 积分:1
-
/* Maze * Starting point is m[0][0], need to find a path go to m[9][9]. 0 means...
迷宫算法(maze)
/* Maze * Starting point is m[0][0], need to find a path go to m[9][9]. 0 means OK,
* 1 means cannot go there, boundary is 0 and 9, cannot go beyond boundary.
* Each step can be made horizontally or vertically for one more grid (diagonal
* jump is not allowed).
* Your program should print a series of grid coordinates that start from m[0][0]
* and go to m[9][9]
* Hint: No need to find the shortest path, only need to find one path that gets
* you to desitination.
*/
-/* Maze * Starting point is m[0][0], need to find a path go to m[9][9]. 0 means OK,
* 1 means cannot go there, boundary is 0 and 9, cannot go beyond boundary.
* Each step can be made horizontally or vertically for one more grid (diagonal
* jump is not allowed).
* Your program should print a series of grid coordinates that start from m[0][0]
* and go to m[9][9]
* Hint: No need to find the shortest path, only need to find one path that gets
* you to desitination.
- 2022-08-08 06:28:42下载
- 积分:1
-
documents to the database. Sql file stored in Database folder; 2, the first in S...
本程序所有数据库文件都以.sql文件保存在Database文件夹里; 2、首先在SQL查询分析器中运行CreateDatabase.sql文件创建数据库; 3、运行其他所有的.sql文件即可创建好了本程序的数据库;-documents to the database. Sql file stored in Database folder; 2, the first in SQL Query Analyzer run CreateDatabase.sql database file creation; 3, running all the other. Sql documents can establish a better process of the database;
- 2022-04-24 09:01:50下载
- 积分:1
-
关于货箱装船问题的贪婪算法,只是简要描述
关于货箱装船问题的贪婪算法,只是简要描述-Container ship on the issue of greedy algorithm, only a brief description of
- 2022-05-25 17:06:00下载
- 积分:1