登录
首页 » 数据结构 » 一元稀疏多项式计算器[加法和乘法] 问题描述: 设计一元系数多项式计数器实现两个多项式间的加法、减法。 基本要求: (1) 输入并建立多项式 (2) 输出多项式...

一元稀疏多项式计算器[加法和乘法] 问题描述: 设计一元系数多项式计数器实现两个多项式间的加法、减法。 基本要求: (1) 输入并建立多项式 (2) 输出多项式...

于 2022-10-15 发布 文件大小:36.96 kB
0 157
下载积分: 2 下载次数: 1

代码说明:

一元稀疏多项式计算器[加法和乘法] 问题描述: 设计一元系数多项式计数器实现两个多项式间的加法、减法。 基本要求: (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

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 用JSP链接到库使用起来非常简单,CUT然后PASTE,原代码中我给出了详细的注释。...
    用JSP链接到数据库使用起来非常简单,CUT然后PASTE,原代码中我给出了详细的注释。-Using JSP link to the database is very simple to use, then PASTE CUT, the original code I presented a detailed notes.
    2023-05-18 00:20:03下载
    积分:1
  • 开发环境:VC++6.0+MFC 库:Oracle 8.0 请将oraclm.dll拷贝到运行文件的目录中! 要运行例子要先装Oracle 8.0,如果有什...
    开发环境:VC++6.0+MFC 数据库:Oracle 8.0 请将oraclm.dll拷贝到运行文件的目录中! 要运行例子要先装Oracle 8.0,如果有什么问题,请看你机器上的Oracle安装目录下的mshelp/Oraclec.hlp。-Development Environment: VC++ 6.0+ MFC Database: Oracle 8.0 Please oraclm.dll files are copied to the run directory! To run the example of first installed Oracle 8.0, if there are any problems, see your machine to install the Oracle directory mshelp/Oraclec.hlp.
    2022-01-30 12:51:23下载
    积分:1
  • 一个简单的库管理系统
    一个简单的数据库管理系统-a simple database management system
    2023-01-24 17:25:03下载
    积分:1
  • cutting parts : a given width of the rectangular plate W, the height of rectangu...
    零件切割问题: 给定一块宽度为W的矩形板,矩形板的高度不受限制。现需要从板上分别切割出n个高度为hi,宽度为wi的矩形零件。切割的规则是零件的高度方向与矩形板的高度方向保持一致。问如何切割使得所使用的矩形板的高度h最小? 任给一个输入实例,能输出切割所需要的实际高度并能用图形演示切割的过程-cutting parts : a given width of the rectangular plate W, the height of rectangular plate unrestricted. Need from the board is cutting out respectively n height of the hi, wi width of the rectangular parts. Cutting parts to the rules of the height of the rectangular plate with a high degree of consistent direction. Asked how cutting makes use of the rectangular plate height h minimum? As an input for example, will cut output by the needs of the high and can be used graphic demonstration of the cutting proce
    2022-01-27 17:45:40下载
    积分:1
  • database connection pool code
    数据库连接池的代码-database connection pool code
    2022-08-20 01:37:50下载
    积分:1
  • 库企业车间管理系统
    本系统化对于车间数据库系统的体系设计分为三个模块,车间任务管理模块、车间生产管理模块以及车间任务管理模块。车间任务管理模块,具有车间任务建立、车间任务确认以及工序作业计划三个功能;车间物料管理模块具有任务用料分配、工序物料分配具有工序物料领用三个功能;车间生产管理,具有下达工票、工序送检、工序完工以及工票完工四个功能。
    2022-01-26 08:32:35下载
    积分:1
  • c language using the six methods of sorting operations, thus comparing the chara...
    c语言编写,利用六种方法进行排序运算,以此对比各种排序方法的特点,包含源程序和课程设计报告。-c language using the six methods of sorting operations, thus comparing the characteristics of a variety of sorting methods, including source code and curriculum design report.
    2023-02-17 23:20:03下载
    积分:1
  • 同样具 体引退台与与与土他 与体引退台与与与同同样具体引退台与与与土他与土他与 土他与...
    同样具 体引退台与与与土他 与体引退台与与与同同样具体引退台与与与土他与土他与 土他与 -same with the same specific retire with Taiwan and with the soil and soil his body and he retire with Taiwan and the same with concrete and retire with Taiwan and with the soil and soil samples with specific units and retire with his Turkish soil with soil with soil and he
    2022-05-06 10:04:01下载
    积分:1
  • 常用的,高斯
    数据结构中常用的Gauss-Seidel 迭代算法-commonly used data structures, the Gauss- Seidel iterative algorithm
    2022-05-22 13:00:57下载
    积分:1
  • 的乘法
    应用背景应用数组 可以实现的算法和解决的问题非常多,这里举 一个非常典型的例子一一大整数 乘怯 。这个例子所采用的方法和思想都非常巧妙  。由于计算机的精度是有限的,因此单纯使 用程序设计语言提供的原子数据类型来完成两个大整数的乘法显然是不切实际的。 关键技术可以考虑 用两个数组来分别存储 一些小于 10 的整数 ,这些数字按顺序排列在一起,分别表 示一个大整数的每一位上的数字,于是大整数的储存问题就解决了。然后按照基本乘法规则对这两个 大整数进行运算即可。下面给出了程序的代码。
    2022-02-07 02:59:09下载
    积分:1
  • 696518资源总数
  • 106161会员总数
  • 5今日下载