Problem2100--输出单向链表

2100: 输出单向链表

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

Submit

Description

输入链表节点数量与数据,输出链表,最后加上NULL
输入:
3
1 2 3
输出:
1->2->3->NULL

Input

3
1 2 3

Output

1->2->3->NULL

Sample Input Copy

5
4 2 3 1 5

Sample Output Copy

4->2->3->1->5->NULL

Source/Category

链表