Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
131942 胡海峰老师 05拆分时间 Python3 Accepted 54 MS 3756 KB 154 2025-10-01 20:40:23

Tests(10/10):


Code:

# 直接使用除法和取余运算 s = int(input()) hours = s // 3600 minutes = (s % 3600) // 60 seconds = s % 60 print(hours, minutes, seconds)