Run ID:85562

提交时间:2024-07-18 12:21:28

n=int(input()) a=list(map(int,input().split())) for i in range(0,n-1,2): a[i],a[i+1]=a[i+1],a[i] print(*a)