CF 484A - Bits

Rating: 1700
Tags: bitmasks, constructive algorithms
Solve time: 5m 23s
Verified: no

Solution