#include <iostream>
#include <cstring>
#include <cstdio>
#include <map>
#include <string>
using namespace std;
struct TNode
{
int num;
TNode * next[26];
TNode()
{
num=0;
memset(next,0,sizeof(next));
}
};
int count[10]={1,3,3,3,3,3,4,3,4};
char aset[10][4]={{'-'},{'a','b','c'},{'d','e','f'},{'g','h','i'},{'j','k','l'},{'m','n','o'},{'p','q','r','s'},{'t','u','v'},{'w','x','y','z'}};
TNode * root =NULL;
map<string,int>mq;
void insert(cha......
阅读全文