This problem is in Contest(s) below:
Contest 1068:2017衡州小学第三场
Contest 1080:C++入门3
Contest 1118:入门训练-1