Two timestamps. A timestamp is three numbers: a number of hours, minutes and seconds. Given two timestamps, calculate how many seconds is between them. The moment of the first timestamp occurred before the moment of the second timestamp.
Input |
Output |
1 |
3661 |
6 |
40 |
10 |
0 |
2 |
7464 |
5 |
16187 |
1 |
18000 |
11 |
1380 |
5 |
46 |
4 |
12024 |