CF 2225F - String Cutting
CF 2225F - String Cutting Rating: - Tags: binary search, brute force, greedy, hashing, string suffix structures, strings Solve time: 2m 54s Verified: no Solution Problem Understanding A string $s$ must be split into several contiguous pieces. Each piece has length at least $l$, and the total number of pieces is at least $k$. After cutting, all pieces are sorted lexicographically, and the piece in position $k$ of this sorted...