Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- bool comp(const pair< pair< ll, int > , bool >& pa1, const pair< pair< ll, int > , bool >& pa2 )
- {
- if( pa1.f.f==pa2.f.f )
- {
- return pa1.f.s < pa2.f.s;
- }
- return pa1.f.f<pa2.f.f;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement