func_code_string: #include <bits/stdc++.h>   using namespace std;   char s[10];   int f[2001], c[2001], mtr[2001][2001], n, m, q, x, y;   int main() {     scanf( %d%d%d , &n, &m, &q);     for (int i = 1; i <= n; i++) {       f[i] = i;       for (int j = 1; j <= m; j++) {         scanf( %d , &mtr[i][j]);         c[j] = j;       }     }     while (q--) {       scanf( %s%d%d , s, &x, &y);       if (s[0] ==  c )         swap(c[x], c[y]);       else if (s[0] ==  r )         swap(f[x], f[y]);       else         printf( %d n , mtr[f[x]][c[y]]);     }     return 0;   }   