摘要:
http://poj.org/problem?id=2418字典数编号,统计每个单词出现的次数,然后计算频率:View Code #include <iostream>#include <cstdio>#include <cstring>#include <cmath>#include <algorithm>#define maxn 10007using namespace std;struct node{ int flag; node *next[100];}*head,H[999999];int pos;int L;struct 阅读全文