CF 2202D - Recollect Numbers

Rating: 1700
Tags: constructive algorithms, implementation
Solve time: 29s
Verified: no

Solution

Working