This problem is used in private contest:C++编程寒假下午班