-
1、 程序功能:本程序实现多项式的求和运算,在遇到指数相同时实行系数相加或相减,指数不同的照原样输出。最后分别输出系数和指数。
2、 运行环境:...
1、 程序功能:本程序实现多项式的求和运算,在遇到指数相同时实行系数相加或相减,指数不同的照原样输出。最后分别输出系数和指数。
2、 运行环境:C++
3、 算法描述:首先,把输入的的多项式进行分析,把所有的系数放入一个单链表中llist,指数放入另一个单链表llist2中。然后再在指数链表中比较有没有相同的指数,如果有相同的指数,那就把相对应的系数进行求和,并把求和结果归并到llist2中;如果指数不相等的,就直接归并到llist2中。最后以指数的降幂形式输出。
-1, function : the program summation Operational polynomial, in the face of phase with the introduction of index coefficient of additive or subtraction, the index of output as it stood. The final output coefficients and the respective indices. Two, the environment : C 3, the algorithm Description : First, the importation of a polynomial analysis of all the factors into a single linked list (which, the index Add another single linked list llist2 China. Then in the index compared Linklist have the same index, if the same index, then the corresponding coefficient for peace, and the summation of the results of merging llist2; If the index is not equal, direct incorporation of llist2 China. The final index to a lower output in the form of pow
- 2023-08-10 17:40:03下载
- 积分:1
-
database database database Database training curriculum design database Java Jav...
数据库 数据库 数据训数据库Java课程设计 Java课程设计 Java课程设计 -database database database Database training curriculum design database Java Java curriculum design cu rriculum design Java Java curriculum design cu rriculum design Java Java curriculum design curriculum design curriculum design Java
- 2022-05-20 16:23:16下载
- 积分:1
-
hefty almanac source do not know how could examine the wording hefty almanac
浩浩年鉴的出处不知道怎么能考查浩浩年鉴的措辞
- 2023-04-24 22:50:03下载
- 积分:1
-
这是一个用vb编写的程序,程序功能虽然单一,但是能使我们在编写别的软件时能迅速的解决一些文本框的应用问题...
这是一个用vb编写的程序,程序功能虽然单一,但是能使我们在编写别的软件时能迅速的解决一些文本框的应用问题-vb prepared using the procedure, although the function of a single procedure, but will enable us to the preparation of other software can quickly solve some of the text box application
- 2022-04-16 08:35:50下载
- 积分:1
-
DTMF双音频DSP算法的源代码的过程
DTMF DTMF在DSP算法中的源代码GOERTZEL
- 2022-09-24 14:15:03下载
- 积分:1
-
扁平编辑框控件
扁平编辑框控件-Editbox control
- 2022-01-26 06:21:41下载
- 积分:1
-
一个很好的专家编辑,在希望能给需要的带来方便!
一个很不错的dephi编辑器,希望能给需要的带来方便!-a very good dephi editor, in hopes of giving the needs of the convenience!
- 2022-04-17 23:08:25下载
- 积分:1
-
本代码提供了一个可以让eidt编辑框控件显示浮动效果的类
本代码提供了一个可以让eidt编辑框控件显示浮动效果的类-the code provides a frame for eidt editorial control showed the effects of the floating category
- 2022-02-01 17:13:57下载
- 积分:1
-
边缘的检测与提取,从一幅图象中将边缘提取出来供识别或处理使用...
边缘的检测与提取,从一幅图象中将边缘提取出来供识别或处理使用-edge detection and extraction, from the edge of an image will be extracted for use or disposal Recognition
- 2022-02-03 22:45:30下载
- 积分:1
-
是一个可以用java的基本类java.net.InetAddress做的程序实例
是一个可以用java的基本类java.net.InetAddress做的程序实例-is a java can use the basic category java.net.InetAddress examples of procedures done
- 2022-02-28 22:50:57下载
- 积分:1