Submit | All submissions | Best solutions | Back to list |
FUCT_IF_SEC2TIME - Second to time hh_mm_ss |
Enter any positive integer that describes total second. You must convert the total second into time in format "hh:mm:ss".
Input
Contain total second.
Output
Print out time in format "hh:mm:ss".
Example
Input 1: 1986 Output 1: 00:33:06
Input 2: -5 Output 2: total second must be a positive integer
Added by: | khanhvh |
Date: | 2018-07-10 |
Time limit: | 1s |
Source limit: | 50000B |
Memory limit: | 1536MB |
Cluster: | Cube (Intel G860) |
Languages: | All |
Resource: | FPTU Can Tho |