5119: 【51课】【3303】平移数据
Memory Limit:65536 MB
Time Limit:1.000 S
Judge Style:Text Compare
Creator:
Submit:119
Solved:85
Description
将a数组中第一个元素移到数组末尾,其余数据依次往前平移一个位置。
Input
第一行为数组a的元素个数;
第二行为n个小于1000的正整数。
Output
平移后的数组元素,每个数用一个空格隔开。
Sample Input Copy
10
1 2 3 4 5 6 7 8 9 10
Sample Output Copy
2 3 4 5 6 7 8 9 10 1