Toggle navigation
HUSTOJ
F.A.Qs
ProblemSet
Source/Category
Status
Ranklist
Contest
Login
Problem4450--旋转字②
4450: 旋转字②
Time Limit:
1
Sec
Memory Limit:
128 MB
Submit:
0
Solved:
0
[
Status
] [
Submit
] [Creator:
]
Description
读入一个串和一个整数n,从该串最末位开始逐位移到字串的开头,求移n位后的新字串。
Input
两行
第一行一个字符串
第二行一个整数N
Output
旋转后的字符串
Sample Input
Copy
computer 3
Sample Output
Copy
tercompu
HINT
数据范围
字符串长度<=100000
N<=100000000
Source/Category
140_T04'