Easy CPP with 95%
\n# Code\ncpp []\nclass Solution {\npublic:\n    int countConsistentStrings(string allowed, vector<string>& words) {\n\n        ios_base::sync_with_stdio(false)
\n# Code\n```cpp []\nclass Solution {\npublic:\n    int countConsistentStrings(string allowed, vector<string>& words) {\n\n        ios_base::sync_with_stdio(false), cin.tie(nullptr), cout.tie(nullptr);\n\n        unordered_map<char, int> mp;\n\n        for (auto i : allowed)\n            mp[i] = 1;\n\n        int ans = words.size();\n\n        for (auto i : words) {\n            for (auto j : i) {\n                if (mp[j] == 0) {\n                    ans--;\n                    break;\n                }\n            }\n        }\n\n        return ans;\n    }\n};\n```
['Array', 'Hash Table', 'String', 'C++']