摘要: 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 阅读全文
posted @ 2012-04-06 21:56 E_star 阅读(205) 评论(0) 推荐(0) 编辑