C++ and C# easy solution
C# []\npublic class Solution {\n    public int CountConsistentStrings(string allowed, string[] words) {\n      int res=words.Length;\n      bool[] alp=new bool[
```C# []\npublic class Solution {\n    public int CountConsistentStrings(string allowed, string[] words) {\n      int res=words.Length;\n      bool[] alp=new bool[26];\n      foreach(char x in allowed)\n      alp[x-\'a\']=true;\n      foreach(string word in words){\n          foreach(char x in word){\n              if(!alp[x-\'a\']){\n                  res--;\n                  break;\n              }\n          }\n        } \n        return res; \n    }\n}\n```\n```C++ []\nclass Solution {\npublic:\n    int countConsistentStrings(string allowed, vector<string>& words) {\n      int res=words.size();\n      bool alp[26]={0};\n      for(char x:allowed)\n      alp[x-\'a\']=true;\n      for(string word:words){\n          for(char x:word){\n              if(!alp[x-\'a\']){\n                  res--;\n                  break;\n              }\n          }\n        } \n        return res; \n    }\n};\n```
['String', 'C++', 'C#']