SCU practice contest 3 for grade 2010 new ACMers

D: Sliding Window