Advertisement
Guest User

Untitled

a guest
Dec 21st, 2015
226
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.21 KB | None | 0 0
  1. bool comp(const  pair< pair< ll, int > , bool >& pa1, const pair< pair< ll, int > , bool >& pa2 )
  2. {
  3.     if( pa1.f.f==pa2.f.f )
  4.     {
  5.         return pa1.f.s < pa2.f.s;
  6.     }
  7.  
  8.     return pa1.f.f<pa2.f.f;
  9. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement