This problem is in Contest(s) below:
Contest 1630:WJOI2012
Contest 1266:201609C++初级第8课作业
Contest 1357:2017暑期C++初级第5课作业(夏溪)
Contest 1530:语法输入输出
Contest 1368:201707c++初级班第8课作业(潘家)
Contest 1746:19暑假
Contest 1763:x