This problem is in Contest(s) below:
Contest 1214:第三章作业-大数据21级
Contest 1330:第一次上机,kdh