文章
17
粉丝
177
获赞
2
访问
118.3k
#include<iostream>
#include<string>
#include<map>
using namespace std;
int main(){
map<char,int> m, q;
m['a'] = m['b'] = m['c'] = 1;
m['d'] = m['e'] = m['f'] = 2;
m['g'] = m['h'] = m['i'] = 3;
m['j'] = m['k'] = m['l'] = 4;
m['m'] = m['n'] = m['o'] = 5;
m['p'] = m['q'] = m['r'] = m['s'] = 6;
m['t'] = m['u'] = m['v'] = 7;
m['w'] = m['x'] = m['y'] = m['z'] = 8;
q['a'] = q['d'] = q['g'] = q['j'] = q['m'] = q['p'] = q['t'] = q['w'] = 1;
q['b'] = q['e'] = q['h'] = q['k'] = q['n'] = q['q...
登录后发布评论
暂无评论,来抢沙发