the answers of ACM from UVaOJ & PKUOJ & others