暴力
code:
/*
ID: yueqi
PROG: contact
LANG: C++
*/
#include <map>
#include <vector>
#include <cstdio>
#include <cstring>
#include <iostream>
#include <algorithm>
#define LL __int64
using namespace std;
bool cmp(const pair<int,string> &a,const pair<int,string> &b){
if (a.first > b.first) return true;
if (a.first < b.first) return false;
int an=a.second.size();
int bn=b.second.size();
if (an < bn) return true;
if (an &g......
阅读全文