CF 2124I - Lexicographic Partition

Codeforces 2124I: Lexicographic Partition

CF 2124I - Lexicographic Partition

Rating: 3500
Tags: constructive algorithms, math, trees
Solve time: 1m 1s
Verified: no

Solution