Skip to content

justaminute

bradendubois edited this page Jun 9, 2021 · 6 revisions

Just a Minute

ID: justaminute

Difficulty: 1.7

CPU Time: 1 second

Memory: 1024 MB

Solution

For this, since the units presented are both minutes and seconds, one can converted the displayed minutes, N, into seconds by simply multiplying by 60, and keeping a tally of all the seconds displayed, and the real times, and compare the ratio; if it is skewed to indicate a real:displayed ratio > 1, display it, otherwise display "measurement error".

Clone this wiki locally