This problem is in Contest(s) below:
Contest 1890:简单枚举算法