Problem 1010 · Medium

Pairs of Songs With Total Durations Divisible by 60

Count pairs of songs whose durations sum to a multiple of sixty. Songs are grouped by their remainder and each group is matched with its complement.

Open the interactive visualisation