This problem is in Contest(s) below:
Contest 1384:【YH28】06分支结构——switch
Contest 1324:【YH27Z】05 分支结构练习二