This problem is in Contest(s) below:
Contest 5336:AK郦老师 入门C班 桶计数进阶与字符桶 家庭作业