Problem1061--数据结构概论上机考试1061

1061: 数据结构概论上机考试1061

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

Description

给定一个单链表 L1L2Ln1Ln,请编写程序将链表重新排列为 L3 LnL1L2

Input

输入数据以回车符为结束标志。

Output

输入数据以回车符为结束标志。

Sample Input Copy

1 2 3 4 5 6

Sample Output Copy

3 4 5 6 1 2

Source/Category