Problem 2706 --Getting Started - Watch

2706: Getting Started - Watch

"
Time Limit $1$ 秒/Second(s) Memory Limit $512$ 兆字节/Megabyte(s)
提交总数 $235$ 正确数量 $162$
裁判形式 标准裁判/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

推荐代码 查看2706 所有题解 上传题解视频得图灵币

本题记录 用 户(点击查看用户) 运行号(点击购买题解) 时 间
算法最快[$0 $ms] Daydreamer 819825 2022-03-13 17:18:08
内存最少[$0 $KB] Scr!pt-B0y 627502 2020-10-18 20:42:01
第一AC 计爱玲 292622 2018-10-21 14:12:45
第一挑战 计爱玲 292622 2018-10-21 14:12:45

赛题来源/所属竞赛 会津大学《C++ Programming I》 C++程序设计(入门)

竞赛编号 竞赛名称 竞赛时间 访问比赛
1388 2019-2020-1学期《C语言程序设计I》:顺序结构【19计算机12班】 2019-09-23 07:00:00 请登录