Problem2160--Calculate time difference

2160: Calculate time difference

Time Limit: 1 Sec  Memory Limit: 128 MB
Submit: 293  Solved: 24
[Submit] [Status] [Web Board] [Creator:]

Description

Define a time structure type (including hour、minute、second), enter two moments, and calculate the time difference between the two moments

Input

Input 2 moments

Output

Output time difference

Sample Input Copy

5:13:20	5:18:21

Sample Output Copy

301 seconds

Source/Category

200