This problem is in Contest(s) below:
Contest 1223:结构体
Contest 1248:20250227