This problem is in Contest(s) below:
Contest 5543:提高C-寒假1课-课堂练习
Contest 5621:提高C-寒假1课-课堂练习(童)