This problem is in Contest(s) below:
Contest 1135:2022年暑期普及班-模拟
Contest 1100:2022小学市夏令营练习-枚举