This problem is in Contest(s) below:
Contest 4843:提高C-第11课-课堂练习
Contest 4841:提高C-第10课-课堂练习