0_0_29107481_10593.cpp: In function 'void add_trie(char*)': 0_0_29107481_10593.cpp:19:5: error: 'vis' was not declared in this scope vis[root] = 1; ^