2019年9月8日

华为笔试:N度好友

摘要: 1 #include <bits/stdc++.h> 2 using namespace std; 3 4 bool cmp(pair<int,int> a, pair<int,int> b){ 5 if(a.second > b.second) return 1; 6 if(a.second==b.second) return a.first < b.first; 7 return 0; 8 } 阅读全文

posted @ 2019-09-08 23:19 逸阳 阅读(966) 评论(1) 推荐(0) 编辑

导航