#include <bits/stdc++.h>
#include <conio.h>
using namespace std;
vector<string>trie[21];
string p;
int main(){
freopen("dictionary.txt","r",stdin);
while(cin>>p)
{
trie[p.length()].push_back(p);
}
freopen("con","r",stdin);
return 0;
}
其中,"dictionary.txt"里有很多(总量约1MB)的,长度在1~20之间的英语单词,它们之间用一个空格隔开,但我测试是连首字母为A的单词都读不完(读了3800左右)就RE了,求调
验证码max6祭