摘要:
http://poj.org/problem?id=1056Trie有一些字符串,判断是否:这些字符串之间都不是彼此的前缀 1 #include <stdio.h> 2 #include <string.h> 3 4 const int CHARSET = 2, BASE = '1', MAX_NODE = 1001; 5 6 int tot, root, child[MAX_NODE][CHARSET]; 7 bool flag[MAX_NODE]; 8 9 void init()10 {11 memset(child, 0, sizeof(child 阅读全文
posted @ 2013-05-18 20:56
Yuan1991
阅读(166)
评论(0)
推荐(0)

浙公网安备 33010602011771号