对于set>,我怎么才能在set中查找一个知道first值但不知道second值的元素?
在网上找到一个,用s.lower_bound((first,0))就行了
遍历set,一个一个pair比较first值