This problem is in Contest(s) below:
Contest 6020:AK张老师语法中级D班 质数 穷举法 家庭作业
Contest 6033:Ak张老师 语法中级B班 基础C总复习