Problem1038--数据结构概论上机考试1-1068

1038: 数据结构概论上机考试1-1068

Time Limit: 1 Sec  Memory Limit: 128 MB
Submit: 1  Solved: 0
[Submit] [Status] [Web Board] [Creator:]

Description

建立一个非递减有序单链表(不少于5个元素结点),输出该链表中重复的元素以及重复次数。

Sample Input Copy

1 2 3 4 4 4 5

Sample Output Copy

4 3

Source/Category