1731: 简单链表练习
Memory Limit:128 MB
Time Limit:1.000 S
Judge Style:Text Compare
Creator:
Submit:21
Solved:11
Description
建立并输出单链表的程序,输入-1后结束输入
单链表重要代码如下:
Input
输入若干的整数,输入“-1”后结束
Output
输出若干个整数
Sample Input Copy
1 2 3 4 5 -1
Sample Output Copy
1 2 3 4 5