CF 427E - Police Patrol
CF 427E - Police Patrol Rating: 2000 Tags: greedy, implementation, math, ternary search Solve time: 1m 54s Verified: yes Solution Problem Understanding All criminals stand on the x-axis, and we must choose one integer coordinate for the police station. The patrol car starts from the station, visits some criminals, brings them back to the station, then repeats until everyone is arrested. Each trip can carry at most m criminals. The...