This problem is used in private contest:C++ 一级考试 A卷