func_code_string: #include <bits/stdc++.h>   int main() {     char s[1000000], c;     int x = 0, y = 0, sum = 0, d;     scanf( %d , &d);     for (int i = 0; i < d; i++) {       scanf(  %c , &c);       s[i] = c;     }     for (int i = 0; i < strlen(s); i++) {       if (s[i] ==  L ) x--;       if (s[i] ==  R ) y++;     }     for (int i = x; i <= y; i++) {       sum++;     }     printf( %d n , sum);     return 0;   }   