text: Function to return the count of B length integers which are less than C and they contain digits from set A [ ] only
code: int solve ( vector < int > & A , int B , int C ) { vector < int > digit ; int d , d2 ;