This problem is used in private contest:7 - 2
7 - 5
C++挑战赛2
C++挑战赛6