#B. 移动数组位置

    Type: Default 1000ms 256MiB

移动数组位置

You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.

题目描述

包含10个数的数组中第一个元素移到数组末尾,其余数据依次往前平移一个位置。

输入格式

输入一行,共10个整数,两个数之间以空格分隔

输出格式

输出一行,是数据位置移动后的10个整数,两个数之间以空格分隔

输入样例数据 1

1 2 3 4 5 6 7 8 9 10

输出样例数据 1

2 3 4 5 6 7 8 9 10 1

数据范围与提示

二级第3轮

Not Attended
Status
Done
Rule
ACM/ICPC
Problem
5
Start at
2023-7-28 9:30
End at
2023-8-19 1:30
Duration
520 hour(s)
Host
Partic.
10