finished 左下角算法寻找右上角