BZOJ P1565 (Cheat 80 points)