func_code_string: #include <bits/stdc++.h>   using namespace std;   int main() {     int t;     cin >> t;     while (t--) {       int n, m;       cin >> n >> m;       string s;       cin >> s;       vector<int> v(m);       for (int i = 0; i < m; i++) {         cin >> v[i];       }       sort(v.begin(), v.end());       vector<int> ans(26);       for (int i = 0; i < n; i++) {         int k = v.end() - upper_bound(v.begin(), v.end(), i);         ans[s[i] -  a ] += (k + 1);       }       for (auto x : ans) cout << x <<    ;       cout << endl;     }   }   