Problem 3184 · Easy

Count Pairs That Form a Complete Day I

Two hours form a complete day when their remainders modulo 24 add to 24 or 0, so count earlier remainders as each hour arrives.

Open the interactive visualisation