-
一元稀疏多项式计算器[加法和乘法] 问题描述: 设计一元系数多项式计数器实现两个多项式间的加法、减法。 基本要求: (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
-
Python实现各种图算法
用Python实现各种图算法,包括深度优先,广度优先,Dijkstral,Prim,WelshPowell_Coloring等算法,
- 2022-01-25 18:21:38下载
- 积分:1
-
倍增法构建后缀数组 求最大重复子串的C程序
倍增法构建后缀数组 求最大重复子串的C程序-Constructing the suffix array multiplication seeking to repeat the largest sub-string C-program
- 2022-03-18 11:29:48下载
- 积分:1
-
学习指针的一个好例子,新手必下!绝对好用!高手还是不要下的好!...
学习指针的一个好例子,新手必下!绝对好用!高手还是不要下的好!-learning targets of a good example, and newcomers will under! Absolutely handy! Experts still do not have a good!
- 2022-09-03 05:30:02下载
- 积分:1
-
VC下实现响铃的小程序,自动生成一个小文件,可以用realplayer等播放器打开...
VC下实现响铃的小程序,自动生成一个小文件,可以用realplayer等播放器打开-VC under Neither the small program automatically generates a small file that can be used REALPLAYER other players open
- 2022-06-15 11:58:02下载
- 积分:1
-
循环双链表和算术表达式
如何插入、 删除和显示通告链接双重链接的列表。菜单驱动的程序与灵活的列表的大小。此外包括验证、 评价和中缀、 前缀和后缀表达式的转换。所有的代码写在 c 语言和签入 codeblocks。
- 2022-03-12 17:53:23下载
- 积分:1
-
Bottom
自底向上排序:思想: 将数组的个部分,两两有序数组进行合并
算法平均时间复杂度: O(nlogn)
-Bottom-up sequencing: thinking: The array of parts 22 in an orderly array merge algorithm for the average time complexity: O (nlogn)
- 2022-03-24 22:35:09下载
- 积分:1
-
pb实现的气泡窗口,非常实用
pb实现的气泡窗口,非常实用-pb achieve the bubble window, a very practical
- 2023-05-25 22:50:03下载
- 积分:1
-
prepared by Huffman, the running through! According to the importation of constr...
c语言编写的哈夫曼程序,运行通过的!根据输入构建哈夫曼树.-prepared by Huffman, the running through! According to the importation of construction Huffman tree.
- 2022-01-30 17:59:00下载
- 积分:1
-
处理机调度的算法,操作系统的课程设计,主要是应用轮转法进行进程的调度...
处理机调度的算法,操作系统的课程设计,主要是应用轮转法进行进程的调度-processor scheduling algorithms, operating system design of Web applications is the main method of the scheduling process
- 2022-04-11 07:58:19下载
- 积分:1