This problem is in Contest(s) below:
Contest 1005:穷举算法