Problem: sum seconds

Three athletes finish for a few seconds (between 1 and 50). Write a program that introduces the times of the contestants and calculates their total time in "minutes:seconds". Seconds need to be zeroed at the front (2 -> "02", 7 -> "07", 35 -> "35").

Sample Input and Output

Input Output
35
45
44
2:04
22
7
34
1:03
50
50
49
2:29
14
12
10
0:36

results matching ""

    No results matching ""