文章
11
粉丝
0
获赞
34
访问
674
//蠢人题解,多做了好多无用步骤
#include <iostream>
#include <string>
#include <sstream>
#include <vector>
#include <cstdlib>
#include <algorithm>
#include <cctype>
using namespace std;
typedef struct zm{
char al;
int sub;
}zm;
int get_value(char a){
if(isupper(a)){
return a-'A';
}
else
return a-'a';
}
bool cmp(zm zma,zm zmb){
int av=get_value(zma.al);
int bv=get_value(zmb.al);
if(av<bv)
return true;
else if(av>bv)
return false;
else{
if(zma.sub<zmb.sub)
&nb...
登录后发布评论
暂无评论,来抢沙发