Problem D: Getting Started - Watch

"
Time Limit $1$ 秒/Second(s) Memory Limit $512$ 兆字节/Megabyte(s)
提交总数 $390$ 正确数量 $259$
裁判形式 标准裁判/Standard Judge 我的状态 尚未尝试
难度 分类标签 STL 模拟

Watch 

Write a program which reads an integer S [second] and converts it to h:m:s where h, m, s denote hours, minutes (less than 60) and seconds (less than 60) respectively.

An integer S is given in a line.
Print h, mm and s separated by ':'. You do not need to put '0' for a value, which consists of a digit.
46979
13:2:59
0≤ S≤ 86400
AOJ