Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
132220 杨嘉陆 04倒序输出五位数 Python3 Accepted 56 MS 3776 KB 211 2025-10-07 13:32:28

Tests(10/10):


Code:

a=int(input()) b=a//10000 a=a-10000*b c=a//1000 a=a-c*1000 d=a//100 a=a-d*100 e=a//10 a=a-10*e if a!=0: x=10000*a+1000*e+100*d+10*c+b else: x=str(1000*e+100*d+10*c+b) x="0"+x print(x)