You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
bradendubois edited this page Nov 24, 2021
·
8 revisions
Stopwatch
ID: stopwatch
Difficulty: 1.3
CPU Time: 1 second
Memory: 1024 MB
Solution
For this, if the number of times recorded is odd, the stopwatch is still running. Otherwise, we can split the list of times into pairs and sum the difference between these times (the time running).