template<typename T1, typename T2> bool operator<(const pair<T1, T2> &lhs, const pair<T1, T2> &rhs) { return lhs.first < rhs.first || (!(rhs.first < lhs.first) && lhs.second < rhs.second); } http://bbs.csdn.net/topics/390258323 Previous POJ 1127题解 Next Python学习笔记(二) CATALOG FEATURED TAGS 搭建博客 Jekyll Git MarkDown Machine Learning 概率统计 Matlab Python 计算几何 图论 Java 软件激活 Android Design Pattern 算法 Latex C++ Operating System 计算机组成原理 MySQL TensorFlow R Pandas Numpy Sklearn Matplotlib Data Visualization FRIENDS