简单题
#include <iostream> #include <string> using namespace std; struct cnode { cnode *pzero, *pone; bool end; }trie[20000]; int ncount, t; bool insert(cnode *proot, char *a) { if (proot->end) return false; if (a[0] == '1') { if (a[0] != '