-
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
-
UDP Socks5穿透包像UDP实现,支持Socks5年龄…
UDP穿透Socks5的实现 ,一个封装UDP类,支持Socks5代理,原理可参看rfc1928-UDP Socks5 penetrating the realization of a package like UDP, support Socks5 agent, principle can be found in rfc1928
- 2022-03-18 08:11:45下载
- 积分:1
-
phase_array_radar_DBF
说明: 相控阵雷达数字多波束形成仿真程序,自己编写,非常好用,适合新手学习(Digital Multi-Beam Forming Simulation Program for Phased Array Radar)
- 2021-04-27 20:28:44下载
- 积分:1
-
1
说明: this document may be good for you,
finding detecting object
- 2011-04-02 10:36:44下载
- 积分:1
-
mathlib
math primitives for linux Device Driver.
- 2013-05-24 11:25:49下载
- 积分:1
-
遗传算法实例
Matlab遗传算法实例,可实现一元多峰函数优化、多元单峰函数优化、多元多峰函数优化,多目标优化(Example of Matlab genetic algorithm. It can realize one variable multimodal function optimization, multiple variable function optimization, multivariate multimodal function optimization, multi-objective optimization.)
- 2017-11-17 10:49:43下载
- 积分:1
-
SServer
这个demo是一个twain协议实现的demo(This demo is a demo implemented by Twain protocol)
- 2020-06-19 22:00:01下载
- 积分:1
-
programming-of-VC-network
VC网络高级编程很好很全面的网络编程书籍(High-level programming of the VC network)
- 2012-08-14 10:32:20下载
- 积分:1
-
一个socket通信客户端
一个socket通信客户端-a socket communications client
- 2022-05-14 08:28:52下载
- 积分:1
-
UA-.NETStandard
Official OPC UA .Net Standard Stack and Samples from the OPC Foundation
- 2020-06-21 02:40:01下载
- 积分:1