#include #include #include using namespace std; #define N 100005 struct node{ int nex[26]; int num; }t[N*10]; int n,tot,root; char s[50]; void insert(char *s){ int i,len; root=0; len=strlen(s); for (i=0;i