Count The Blocks

Problem Name:
Count The Blocks
Site:CodeForces
Links:
Tags: