This problem is used in private contest:C++挑战赛4
C++挑战赛6
分支结构
分支结构-测试