CF 1984A - Strange Splitting

Codeforces 1984A: Strange Splitting

CF 1984A - Strange Splitting

Rating: 800
Tags: constructive algorithms
Solve time: 2m 46s
Verified: no

Solution