将第21行 lower_bound(k, k+n, b) - k 改写为 upper_bound(k, k+n, b) - k - 1 运行结果不变。
lower_bound(k, k+n, b) - k
upper_bound(k, k+n, b) - k - 1
正确
错误