Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
43442 蔡璟恒 奇偶位互换 Python3 Accepted 37 MS 3776 KB 190 2022-12-11 15:25:32

Tests(1/1):


Code:

n=int(input()) arr=[] for i in range(n): a=input() arr.append(a) for i in arr: res="" for j in range(0,len(i),2): res+=i[j+1]+i[j] print(res)