| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 131493 | 杨嘉陆 | 数组中元素交换 | Python3 | Wrong Answer | 59 MS | 3752 KB | 127 | 2025-09-27 13:35:08 |
n=int(input()) a=input().split() n=n//2 t=1 i=0 while t<=n: a[i],a[i+1]=a[i+1],a[i] t=t+1 i=i+2 print(a)
------Input------
1 49
------Answer-----
49
------Your output-----
['49']