http://codeforces.net/gym/102051/problem/E
This problem's std maybe has some fault,so the test cases are wrong.But I don't know how to modify them,so I added an announcement and show the fault.I will be thankful if anyone can modify those test cases to the correct ones.:) If you want to get new std,I think maybe my code is right.