WA
查看原帖
WA
893114
denghuolanshan_1004楼主2023/9/2 14:30
a=int(input())
h=a//3600
a=a%3600
m=a//60
s=a%60
if h>=10:
    print(h,end=':')
else:
    print(0,end='')
    print(h,end=':')

if m>=10:
    print(m,end=':')
else:
    print(0,end='')
    print(m,end=':')

if s>=10:
    print(s,end=':')
else:
    print(0,end='')
    print(s,end='')
2023/9/2 14:30
加载中...