Speedbreaker Counting (Hard Version)

Problem Name:
Speedbreaker Counting (Hard Version)
Site:CodeForces
Links:
Tags: