This problem is in Contest(s) below:
Contest 1450:第一次训练
Contest 1443:2024级期末考试题