p1431: 守望者的逃离 ##greedy algorithm