Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
131494 6倪葭轩 数组中元素交换 Python3 Wrong Answer 51 MS 3752 KB 113 2025-09-27 13:38:03

Tests(0/10):


Code:

n=int(input()) a=input().split() n=n//2 for i in range(n): x=i*2 a[x],a[x+1]=a[x+1],a[x] print(a)


Run Info:

------Input------
1 49
------Answer-----
49
------Your output-----
['49']