[SRM602] PilingRectsDiv2 by Kaiyang Lv