This problem is in Contest(s) below:
Contest 6642:Ak张老师 语法中级C班 质数 枚举课堂练习
Contest 6632:基础C-第12课-课堂练习