func_code_string: #include <bits/stdc++.h>   using namespace std;   int v[100005], b[100005];   int k, n, m, maxim;   int main() {     cin >> n >> m;     for (int i = 1; i <= m; i++) {       int nr;       cin >> nr;       b[nr]++;       v[b[nr]]++;       if (v[b[nr]] == n)         cout << 1;       else         cout << 0;     }   }   