登录
首页 » 算法 » 线性表的链式存储结构

线性表的链式存储结构

于 2022-10-19 发布 文件大小:5.63 kB
0 132
下载积分: 2 下载次数: 1

代码说明:

实验二  线性表的链式存储结构 题目:设计并实现以下算法:给出用单链表存储多项式的结构,利用后接法生成多项式的单链表结构,实现两个多项式相加的运算,并就地逆置相加后的多项式链式。1.  用户可以根据自己的需求分别输入两个一元多项式,并且能够实现输入的一元多项式的显示。2.  能够完成两个一元多项式的相加功能,而且还能显示相加后的逆置的一元多项式。3.  程序执行的命令包括:(1)构造链表A    (2)构造链表B   (3)两个链表的相加    (4)求链表的长度  (5)打印(显示)已有的链表        (6)将已相加的链表进行逆序排列

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

发表评论

0 个回复

  • Abstract: This paper aims to study a thermal complex objects can be an effective...
    摘要:本文旨在研究一种能对复杂热工对象的有效建模方法。基于遗传算法的辨识方法有较强的抗干扰能力,对低、高阶系统、延时系统都可以达到很好的辨识效果。根据单元机组的低阶非线性模型,推导出一个双进双出、能够描述机组动态特性及机炉间相互耦合关系的协调控制系统传递函数矩阵。依次模型为基础,提出一种基于改进的遗传算法的参数辨识方法。-Abstract: This paper aims to study a thermal complex objects can be an effective modeling method. Identification method based on genetic algorithm has strong anti-jamming ability, low, high-end systems, delay systems can achieve very good recognition results. According to unit power plant low-level non-linear model, derived a double inlet and outlet, can describe the dynamic characteristics and boiler-turbine unit is coupled between two relations, coordination and control system transfer function matrix. Turn model was proposed based on improved genetic algorithm based on parameter identification method.
    2022-01-24 09:15:33下载
    积分:1
  • 把整数华氏温度转换成浮点数摄氏温度,精确到三位数字
    把整数华氏温度转换成浮点数摄氏温度,精确到三位数字-put into Fahrenheit temperature float Celsius temperature, accurate to three figures
    2022-01-25 14:02:25下载
    积分:1
  • 遗传
    应用背景用于智能计算,分析调度等。最典型的就是解决tsp问题和背包问题。算法已经很成熟了,请大家放心使用,此代码只用于学习,不能用于商业用途,如果要用于商业用途请于作者联系。谢谢使用。关键技术 遗传算法模拟生物进化论来实现算法的优化。如,算法要随机的产生种群,然后种群就会像生物一样繁衍,它要进行遗传,自然选择,基因突变等方式产生更优秀的下一代种群。为了防止算法陷入局部最优解,所以算法要进行变异操作。详情可以联系我。希望大家可以多多交流。
    2023-03-17 00:10:04下载
    积分:1
  • 数据挖掘中频繁项挖掘Aporial
    该算法实现了数据挖掘中基于候选集的频繁项的挖掘,对于训练数据的处理,我们使用一个hashmap表来模拟初始阶段的数据,让后根据支持度来从候选集中找出满足支持度的频繁项,然后进行下一层的频繁项挖掘
    2023-09-02 10:30:03下载
    积分:1
  • a mathematical algorithm large pool
    一个数学算法的大集合-a mathematical algorithm large pool
    2022-02-21 10:37:46下载
    积分:1
  • 一维等离子体的plrc―fdtd程序
    一维等离子体的plrc―fdtd算法程序-one-dimensional plasma plrc- fdtd Algorithm
    2022-03-12 09:53:20下载
    积分:1
  • 对于蒙特卡罗的程序,可用于电力系统的仿真…
    该程序为mente carlo算法 可用于电力系统的随机抽样模拟系统状态 可用于大型的电力系统计算可靠性-the procedures for mente carlo algorithms can be used for power system simulation of random system state available in a large power system reliability calculation
    2022-04-28 07:22:06下载
    积分:1
  • C语言函数帮助文档
    适应于初学者,对了解程序设计有很深的帮助, C语言函数,介绍了程序设计会用得上函数,节省了时间,提高了效率图形库EGE,包含了众多的案例教程,有助于自学和编程
    2022-02-26 05:19:15下载
    积分:1
  • 可以查询学生详细信息(学号、姓名、性别、入学时间、出生年月、电话、家庭住址・・・・・・),亦可查询简明信息(只含有姓名和年龄);可增加、删除和浏览学生信息;可按...
    可以查询学生详细信息(学号、姓名、性别、入学时间、出生年月、电话、家庭住址・・・・・・),亦可查询简明信息(只含有姓名和年龄);可增加、删除和浏览学生信息;可按“学号”,“姓名”查询;可用菜单实现上述功能。-students can find detailed information (school, name, gender, school, date of birth, telephone, family residence), can also inquire about the concise information (contained only the name and age); increase. View and delete student information; according to "study", "name" inquiries; menu can be used to achieve the above functions.
    2022-05-29 05:23:36下载
    积分:1
  • tacticians were Newton and the Golden Section of a search algorithm C realized,...
    运筹学中牛顿法和黄金分割法一位搜索的算法C++实现,我大二时自己写的作业程序。-tacticians were Newton and the Golden Section of a search algorithm C realized, I write his sophomore year at the operating procedures.
    2022-01-31 19:41:40下载
    积分:1
  • 696518资源总数
  • 106242会员总数
  • 10今日下载