This problem is in Contest(s) below:
Contest 8814:2025秋C++中级线上班-第6课-约数和素数-susanliang