RYIP在线题库
首 页   >   习题练习   >   提交
Problem1990--链表的插入

1990: 链表的插入

[Creator : ]
Time Limit : 1.000 sec  Memory Limit : 128 MB

【 Description 】

输入一个长度为N的链表,然后在位置k的前面插入一个数据kdata,最后输出这个链表

【 Sample Input 】

5
3 7 24 9 42
3 888

【 Sample Output 】

3 7 24 888 9 42

【 Source/Category 】

链表 TX