【CodeForces - 608C】Chain Reaction (二分 或 dp ,思维)

NoSuchKey