func_code_string: #include <bits/stdc++.h>   using namespace std;   const int maxn = 310;   int n, a[maxn];   int main() {     scanf( %d , &n);     for (int i = (1); i <= (n); ++i) scanf( %d , &a[i]);     for (int i = (1); i <= (n - 1); ++i) {       for (int j = (1); j <= (a[i]); ++j) printf( PRL );       printf( R );     }     for (int j = (1); j <= (a[n]); ++j) printf( LRP );   }   