#1074. 一维数组模板2
一维数组模板2
Background
Special for beginners, ^_^
Description
将a数组中第一个元素移到数组末尾,其余数据依次往前平移一个位置。
Format
Input
第一行为数组a的元素个数;(元素个数<=100)
第二行为n个小于1000的正整数。
Output
输出平移后的数组元素,每个数用一个空格隔开。
Samples
10
1 2 3 4 5 6 7 8 9 10
2 3 4 5 6 7 8 9 10 1
Limitation
1s, 1024KiB for each test case.
Statistics
Related
In following homework: