Toggle navigation
HUSTOJ
F.A.Qs
Web Board
ProblemSet
Source/Category
Status
Ranklist
Contest
Recent
Login
Problem2165--Calculate time
2165: Calculate time
Time Limit:
1 Sec
Memory Limit:
128 MB
Submit:
178
Solved:
35
[
Submit
] [
Status
] [
Web Board
] [Creator:
]
Description
Define a time structure type (including hours, minutes and seconds) to calculate the time after n seconds.
Input
Input moment and a second
Output
Output moment
Sample Input
Copy
05:06:04 20
Sample Output
Copy
05:06:24
Source/Category
207