CF 1974F - Cutting Game

Rating: 1900
Tags: binary search, brute force, data structures, implementation, sortings, two pointers
Solve time: 5m 16s
Verified: no

Solution