Lang:G++
Edit12345678910111213141516171819202122232425262728293031#include <iostream>#include <queue>using namespace std;class Trie_tree{public:Trie_tree();void Add_count();int Get_count();Trie_tree * child[26];private:int count;};Trie_tree::Trie_tree(){this->count = 0;for(int i = 0; i < 26; i++){this->child[i] = NULL;}}void Trie_tree::Add_count(){this->count++;}int Trie_tree::Get_count(){