#H. C++-字符串-旋转操作

    Type: Default 1000ms 256MiB

C++-字符串-旋转操作

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.

Background

Description

旋转操作。 把字符串旋转一次操作等价于把字符串的最后一个字符改放到第1个字符的前面。 例如:”abcdefg”旋转一次为”gfedcba” image

Format

Input

Output

Samples

abcdefg
gfedcba

Limitation

1s, 1024KiB for each test case.

字符串

Not Attended
Status
Done
Rule
ACM/ICPC
Problem
9
Start at
2024-4-30 0:00
End at
2024-5-12 12:00
Duration
300 hour(s)
Host
Partic.
6