实践操作是前者更快
set自带ub
algo的ub
set<int>::iterator it=upper_bound(a.begin(),a.end(),nw);//40pts set<int>::iterator it=a.upper_bound(nw);//100pts
这两者有什么区别?