Problem5770--连接5770: 连接
Time Limit: 1.000 Sec Memory Limit: 128 MB
Submit: 12 Solved: 11
[Submit] [Status] [Web Board] [Creator:]Description
首先从键盘输入一个正整数m(代表一维数组a的元素个数),接着输m个整数(代表数组a的元素)。
再从键盘输入一个正整数n(代表一维数组b的元素个数),接着输n个整数(代表数组b的元素)。
然后将数组a和数组b中的元素首尾相连,形成数组c。
最后输出数组c的元素,输出的数据之间用空格分隔。
Input
5 15 2 0 7 8
4 10 11 12 10
Output
15 2 0 7 8 10 11 12 10
Sample Input
6 8 18 19 6 15 0
3 8 8 4
Sample Output
8 18 19 6 15 0 8 8 4
Source/Category
[Submit] [Status]