-
sLinkList
说明: 项目任务
在单链表类中增加一个功能erase(x, y), 删除表中所有值在 [x, y] 之间的结点。假设链表中结点数值类型是整形,要求编程返回删除相应结点后的链表长度和链表元素。
输入描述
第一行输入链表List的结点元素值,元素之间用空格间隔,且均为int类型;
第二行输入为x和y,分别表示需要删除结点元素的最小值和最大值。
输出描述
第一行输出删除相应结点后链表的长度;
第二行输出删除相应结点后链表的所有元素,元素之间用空格间隔。若无剩余元素,输出null。(Project tasks
A function erase (x, y) is added to the class of single linked list to delete all nodes whose values are between [x, y]. Assuming that the numerical type of the node in the linked list is plastic, the program is required to return the length and elements of the linked list after deleting the corresponding nodes.
Enter a description
In the first line, enter the node element values of the linked list list, with spaces between the elements, and all of them are of type int;
In the second line, input X and y to indicate the minimum and maximum values of node elements to be deleted.
Output description
The first line outputs the length of the linked list after deleting the corresponding node;
The second line outputs all the elements of the linked list after deleting the corresponding nodes, with space between the elements. If there are no remaining elements, null is output.)
- 2020-11-04 16:54:25下载
- 积分:1
-
subscriptions
采用VC++编写的一个简单数据库的报刊订阅系统(Written by VC++ database subscriptions a simple system)
- 2011-01-04 17:06:32下载
- 积分:1
-
在应用层进行加密处理的VPN源代码,支持Windows平台和Linux平台。...
在应用层进行加密处理的VPN源代码,支持Windows平台和Linux平台。-in the application layer VPN encryption source code, support for Windows and Linux platforms.
- 2022-10-04 03:10:03下载
- 积分:1
-
获取计算机的IP地址的网络编程,采用VC++与大家共享
获取计算机的IP地址的网络编程,采用VC++与大家共享-access to the IP address of the computer network programming, use and share VC
- 2022-08-26 12:12:41下载
- 积分:1
-
175868
Tool software can calculate the led display code If you need the original code can contact provided free of charge,
- 2017-05-20 21:49:56下载
- 积分:1
-
VBdevelopmentexample
Visual Basic系统开发实例精粹
人民邮电出版社(The essence of the system development example Visual Basic Posts & Telecom Press)
- 2010-10-08 00:38:33下载
- 积分:1
-
This is one the students have done, not doing a good job, I hope everyone with r...
这是一同学做得,做得不好,希望大家一起参考参考。具体在压缩包里有详细介绍-This is one the students have done, not doing a good job, I hope everyone with reference to reference. Concrete in the compression bag detailed
- 2022-06-12 12:20:18下载
- 积分:1
-
dxf2G
说明: 将DXF文件转换为G代码(NC代码),只能转换ASCII编码的DXF文件(dxf2G is a simple program that converts dxf 2D files into a .ngc G code files usable in programs such as Emc2 )
- 2010-04-27 19:34:50下载
- 积分:1
-
IISManagerAssistant-SP0.7
彩虹IIS管理助手,版本0.7.
开源IIS管理工具,支持IIS6和IIS7.站点安全设置、站点管理、应用程序池管理等功能。C# 4.0、VS2010(Rainbow IIS management assistant, version 0.7. Open IIS management tools, support IIS6 and IIS7. Sites security settings, site management, application pool management. C# 4.0, VS2010)
- 2013-12-01 10:40:10下载
- 积分:1
-
同步套接字服务器
同步套接字服务器-synchronization socket server
- 2022-01-23 10:07:04下载
- 积分:1