摘要:
题目描述 Given N string S[1], S[2]......, S[N], you are to find a pair of strings whose longest common prefix has the largest length.输入 There are multiple... 阅读全文
posted @ 2014-04-22 21:10
Hust_BaoJia
阅读(156)
评论(0)
推荐(0)
摘要:
trie树就是字典树,就是花时间为空间的一种高效查找的数据结构#include#include#include#include#includeconst int maxn=26;int n,m;char s[51];typedef struct Trienode{ bool isStr,isc... 阅读全文
posted @ 2014-04-22 19:13
Hust_BaoJia
阅读(192)
评论(0)
推荐(0)

浙公网安备 33010602011771号