This problem is in Contest(s) below:
Contest 1214:武进区第8届中学生程序设计竞赛
Contest 1260:2016.9C长训(1)第1课作业
Contest 1372:2017.07c语言初级班第8课作业(雪)
Contest 1788:19暑假扩展a
Contest 1633:WJOI2015
Contest 1763:x
Contest 1763:x