-
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
-
一个很好的网络服务器程序, 说明了服务器的基本编程方式,并很好的说明了服务器多线程处理方式,对初学网络编程的朋友有很好的指导意义...
一个很好的网络服务器程序, 说明了服务器的基本编程方式,并很好的说明了服务器多线程处理方式,对初学网络编程的朋友有很好的指导意义-a good network server that the server"s basic programming, and a good example of a multi-threaded server approach to network programming when a friend is a good guide
- 2022-02-15 05:12:04下载
- 积分:1
-
FWProlad328-20813-ENU
chotoicaidinhanhlen phan mem lap trinh plc
- 2018-05-01 12:20:14下载
- 积分:1
-
cama_cdma
附件二:SP接入接口协议1 0版(ETIP) doc (cdma)规范啊,很难找哦(Attachment 2: sp access interface protocol version 10 (ETIP) doc (cdma) specification, very difficult to find)
- 2018-07-30 08:50:12下载
- 积分:1
-
25365
GDI工具栏源码例程,程序结合易语言系统核心支持库,当获取到鼠标焦点的时候,菜单图标突出的效果。(GDI toolbar source code routines, programs combine core system easy language support library , where access to the mouse focus when the menu icon outstanding results .)
- 2016-12-18 18:14:00下载
- 积分:1
-
ArabicStemmerCode_2
stemmer for Arabic words/texts
- 2013-06-20 02:26:07下载
- 积分:1
-
用vc实现的多线程聊天室程序,包括服务器和客户端
用vc实现的多线程聊天室程序,包括服务器和客户端-By vc realize the multi-threaded chat room procedures, including server and client
- 2022-05-22 01:11:28下载
- 积分:1
-
mmsp-master
用于材料晶粒组织生长,变化等的模拟语言,包括相场法,蒙特卡罗法和元胞自动机法(*Typical MMSP applications include:*
* Grain growth and coarsening
* Precipitation reactions
* Crystal growth and solidification
* Lattice based kinetic Monte Carlo
* Statistical mechanics: Ising model, classical Heisenberg model, etc.
* Spinodal decomposition and other second order transformations
)
- 2020-07-08 16:08:56下载
- 积分:1
-
a port scan
一个端口扫描程序-a port scan
- 2022-06-19 05:49:42下载
- 积分:1
-
控制台下制作的聊天软件,c++语言开发。给c++初学者展示了如何在控制台下制作软件。...
控制台下制作的聊天软件,c++语言开发。给c++初学者展示了如何在控制台下制作软件。-Console chat software produced, c++ language development. To c++ beginners showing how to produce software under Control Panel.
- 2022-08-05 19:23:20下载
- 积分:1