PAT A1112 Stucked Keyboard (20 分)
#include<bits/stdc++.h>
using namespace std;
int n,numm,ccd,post[100001],ins[100001],dd[100001],a,b,c,d;
char s[1001];
map<char,int>mp,meet1,inq,inq2;
struct node{
char c1;int w1;
friend bool operator < (node aa,node bb){
return aa.w1<.
原创
2021-09-05 10:43:32 ·
92 阅读 ·
0 评论