Type: Default 1000ms 256MiB

数组3 循环左移

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.

问题描述

读入 n 个整数,

将第一个数挪动到末尾,

第二个数挪到第一个数的位置

第三个数挪到第二个数的位置 …

样例输入

6
3 1 4 1 5 9

样例输出

1 4 1 5 9 3

初一年级数组3

Not Claimed
Status
Done
Problem
12
Open Since
2022-12-5 0:00
Deadline
2022-12-13 23:59
Extension
24 hour(s)