摘要: //字典树模板题.题意:给一个库,每次查询,求以之为前缀的单词数量。#include#include#include#include#includeusing namespace std;int tree[500000][27];int w[500000]; //记... 阅读全文
posted @ 2014-03-25 21:39 天羽屠龙舞 阅读(103) 评论(0) 推荐(0)