func_code_string: #include <bits/stdc++.h>   using namespace std;   int a[102];   int main() {     int n, i, l, r, j;     char name[100009];     cin >> n;     scanf( %s , name);     l = 0;     r = 9;     for (i = 0; i < n; i++) {       if (name[i] ==  L )         for (j = 0; j < 10; j++)           if (a[j] == 0) {             a[j] = 1;             break;           }       if (name[i] ==  R )         for (j = 9; j >= 0; j--)           if (a[j] == 0) {             a[j] = 1;             break;           }       if (name[i] >=  0  && name[i] <=  9 ) a[name[i] -  0 ] = 0;     }     for (i = 0; i < 10; i++) printf( %d , a[i]);     cout << endl;     return 0;   }   