Please check my code tell me where the problem is
how can I make a boolean function for vector. I want to make a compare function
bool sort(pair<int, int> p1, pair<int, int> p2) {
//return value here
//values can be accessed by
//p1.second
//p2.second
//return in increasing order
}