This problem is in Contest(s) below:
Contest 1133:2013.7中级班第2课练习
Contest 1342:2017.7C长训1第1课作业
Contest 1567:输入输出
Contest 1788:19暑假扩展a
Contest 1466:寒假玩编码
Contest 1357:2017暑期C++初级第5课作业(夏溪)
Contest 1789:x1
Contest 1397:cz初级班第4课后作业