Toggle navigation
CGOJ
F.A.Qs
ProblemSet
Source/Category
Status
Ranklist
Contest
Login
Language
中文
ئۇيغۇرچە
English
فارسی
ไทย
한국어
Problem AF: 总秒数 → 时:分: 秒
Problem AF: 总秒数 → 时:分: 秒
[Creator :
]
Time Limit :
1.000
sec
Memory Limit :
128 MiB
Submit
ProblemList
Solved: 97
Submit Num: 169
Statistics
ShowOff!
Description
输入一个总秒数(非负整数),将其转换为小时:分钟:秒的格式输出。
公式:小时 = 总秒数 / 3600,分钟 =(总秒数 %3600)/60,秒 = 总秒数 %60
Sample Input
Copy
3661
Sample Output
Copy
01:01:01