This problem is in Contest(s) below:
Contest 1260:2016.9C长训(1)第1课作业
Contest 1368:201707c++初级班第8课作业(潘家)
Contest 1746:19暑假
Contest 1351:2017.07c语言初级班第4课作业(雪)
Contest 1567:输入输出