This problem is used in private contest:套娃行动
C++挑战赛4
C++挑战赛6
C++挑战赛7