Descriptions:

A Story of One Country (Hard)

CodeForces - 1181E2