Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- auto cmp = []( long long b ,auto it)->bool {
- if( it.b > b)
- return true;
- return false;
- };
- auto upper = std::upper_bound(l.begin(), l.end(), l[i+1].e , cmp );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement