Your browser (Unknown 0) is no longer supported. Some parts of the website may not work correctly. Please update your browser.
Exercise 3

2017 Contest

Tasks:

elementary
Given the numbers of players and available courts, calculate the maximum number of parallel tennis games.
medium
From drawers containing both clean and dirty socks, choose socks to launder in order to obtain the maximum number of clean pairs of socks.
hard
Recover a broken array using partial information in another array.
hard
Given points on a plane, count the number of sets of four points that form regular diamonds.