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

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

于 2022-10-15 发布 文件大小:36.96 kB
0 76
下载积分: 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 个回复

  • mfc odbc库编程
    使用mfc通过odbc链接sql数据库,跟大家分享,不错的代码,简单易懂!   为了简化开发人员编写数据库应用程序,VC++的在其基础类库(MFC)里对ODBC API进行了封装,实现了一个面向对象的数据库编程接口,使VC++的数据库变得更加容易。 本章首先对MFC ODBC的概貌进行简要介绍,然后讲述利用MFC ODBC进行数据库开发的技巧,最后将通过具体数据库开发实例,详细讲述通过MFC ODBC开发数据库应用程序的方法和过程。  
    2022-03-31 16:08:59下载
    积分:1
  • 库设计指南,库的教程
    数据库设计指南,数据库的教程- Database design guide, database course
    2022-01-28 13:09:06下载
    积分:1
  • simple database management system
    简单数据库管理系统-simple database management system
    2022-05-26 03:27:43下载
    积分:1
  • 使用两个向量的叉积判断两线分割…
    使用两个向量的叉积来判断两条线段是否相交-The use of the cross product of two vectors to determine whether two line segments intersect
    2022-03-24 16:16:40下载
    积分:1
  • MSChart实时曲线
    在网上下载的示例,用VB的空间MSchart来显示实时曲线,觉得还不错,跟大家分享下,忘记来源哪个网站了,大家可以参考参考。最近一直在用MSchart,下了很多资料,这个是比较不错啊,很有借鉴意义。
    2022-02-10 15:43:47下载
    积分:1
  • eight Queen's text interface issues
    八皇后问题 文本界面-eight Queen"s text interface issues
    2022-12-06 01:50:03下载
    积分:1
  • data structure design for the chain design source, and the menu was prepared
    用于数据结构设计的链表设计源码,菜单编写方式-data structure design for the chain design source, and the menu was prepared
    2022-05-15 20:21:47下载
    积分:1
  • Access库经典模板,Access
    Access数据库经典模板,Access-DateBase-Template.rar-Classic template Access database, Access-DateBase-Template.rar
    2022-03-16 08:24:22下载
    积分:1
  • floyd,求最短路径的算法。。求任意两点间的最短距离
    floyd,求最短路径的算法。。求任意两点间的最短距离-floyd, seeking the shortest path algorithms. . Arbitrary order of the shortest distance between two points
    2022-07-13 09:49:18下载
    积分:1
  • 插入运算符算法,123456789=a,在等式左边的任意两个字之间插入 +...
    插入运算符算法,123456789=a,在等式左边的任意两个数字之间插入 + - *使得等式成立,列出满足条件的所有结果-Insert operator algorithm, 123456789 = a, the left side of the equation inserted between any two figures+-* Make the equation set up, listing all of the results meet the conditions
    2022-03-01 08:33:25下载
    积分:1
  • 696518资源总数
  • 104271会员总数
  • 70今日下载