class Solution {public:int numJewelsInStones(string J, string S) {//统计宝石个数int count = 0;//获得字符串长度int j_length = J.length();int s_length = S.length();int s = 0;while (s};