func_code_string: #include <bits/stdc++.h>   using namespace std;   const int MAXSZ = 100000;   int req[MAXSZ];   int prob[MAXSZ];   int main(int argc, const char* argv[]) {     int n, m, k;     scanf( %d%d , &n, &m);     int count = 1;     for (int i = 0; i < m; i++) {       scanf( %d , &k);       prob[k]++;       req[prob[k]]++;       if (req[count] == n) {         cout << 1;         count++;       } else {         cout << 0;       }     }   }   