This problem is in Contest(s) below:
Contest 1133:第15届蓝桥杯 C++中高级