This problem is used in private contest:1213模拟赛