比如有一个结构体 struct t {int x, y;}a[N];
struct t {int x, y;}a[N];
要实现对 a 数组中的 x 进行 lower_bound,该怎么做
a
x
lower_bound
是重载 () 吗,如果是,那怎么做?
()