摘要:
http://poj.org/problem?id=2513 1 #include 2 #include 3 #include 4 using namespace std; 5 6 const int sign_node=26; 7 const int max_node=550000; 8 int f[max_node]; 9 int du[max_node];10 int num=0;11 int ch[max_node][sign_node];12 int val[max_node];13 14 struct Trie15 {16 int sz;17 void clear... 阅读全文