Coloring game View Problem Statement Source: Codeforces Difficulty: Normal Tags: Binary search Prerequisites: Binary search View External Solution