This problem is used in private contest:算法描述,复杂度分析与枚举算法