Run ID:58798

提交时间:2023-10-01 15:25:16

n=int(input()) arr=[] for x in map(int,input().split()): arr.append(x) ind=0 for i in range (n): tmp=ind for j in range (n): if tmp>n-1: tmp=0 print(arr[tmp],end=" ") tmp+=1 print(" ") ind+=1