BZOJ 1507

Signed-off-by: CyberZHG <CyberZHG@gmail.com>