This problem is in Contest(s) below:
Contest 1380:移动软件18-1练习3
Contest 1382:移动软件18-2练习3