This problem is in Contest(s) below:
Contest 1633:WJOI2015
Contest 1213:武进区第8届小学生程序设计竞赛
Contest 1530:语法输入输出
Contest 1789:x1
Contest 1788:19暑假扩展a
Contest 1347:2017.07c语言初级班第3课作业(雪)
Contest 1348:201707C++初级第4课作业(潘家)
Contest 1397:cz初级班第4课后作业