from collections import deque
n,m=input().split()
seq=deque(input().split())
seq.rotate(int(m))
Res=list(seq)
for i in range(len(Res)):
if i==len(Res)-1:
print(Res[i],end='')
else:
print(Res[i],end=' ')
07-08
794
“相关推荐”对你有帮助么?
-
非常没帮助
-
没帮助
-
一般
-
有帮助
-
非常有帮助
提交