luckYrat's library.

This documentation is automatically generated by competitive-verifier/competitive-verifier


:warning: cpp/other/compare.cpp

Required by

Code

#include <iostream>

#include <cmath>
#include <algorithm>
#include <iomanip>

//array
#include <vector>
#include <set>
#include <stack>
#include <queue>
#include <map>
#include <utility>

using namespace std;



//pair<int,int>
typedef pair<int,int> P;
bool pairSecond(const P& pf,P&ps){
  return pf.second < ps.second;
}
bool pairSum(const P& pf,P&ps){
  return pf.first+pf.second > ps.first+ps.second;
}

//string
bool stringSize(const string&pf,string&ps){
  return pf.size() < ps.size();
}



#line 1 "cpp/other/compare.cpp"
#include <iostream>

#include <cmath>
#include <algorithm>
#include <iomanip>

//array
#include <vector>
#include <set>
#include <stack>
#include <queue>
#include <map>
#include <utility>

using namespace std;



//pair<int,int>
typedef pair<int,int> P;
bool pairSecond(const P& pf,P&ps){
  return pf.second < ps.second;
}
bool pairSum(const P& pf,P&ps){
  return pf.first+pf.second > ps.first+ps.second;
}

//string
bool stringSize(const string&pf,string&ps){
  return pf.size() < ps.size();
}



Back to top page