#include<iostream>
#include<stdio.h>
#include<string.h>
#include<algorithm>
#include<assert.h>
#include<ctype.h>
#include<stdlib.h>
#define min(a,b) (a)>(b)?(b):(a)
using namespace std;
struct word{
int shunxu;
char str[20];
};
struct node
{
word wo;
struct node* child[16];//最多15个字符
}*root;
int flag=0;
word ans[3000];
int anst=0;
int cal_juli(char *a,char *b)//计算编辑距离
{
int la = strlen(a);
int lb = strlen(b);
int i,j;
int s[20][20];
本内容试读结束,登录后可阅读更多
下载后可阅读完整内容,剩余3页未读,立即下载