This problem is used in private contest:智码模拟赛