Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
92501 周楚航 06变换四位数 Python3 Accepted 44 MS 3772 KB 140 2024-10-05 15:09:27

Tests(10/10):


Code:

a=input() a=int(a) b=a//1000 c=a%1000//100 d=a%100//10 e=a%10//1 if c==0: print(b,e,d,sep="") else: print(c,b,e,d,sep="")