Added support for BZOJ(lydsy)