I don't know what "return ch[c-'A'];&return ch[c-'1'+26]; "doing.
The following are some code for uva401 - Palindromes in c++.

```
char ch[36]={'A',' ',' ',' ','3',' ',' ','H','I','L',
             ' ','J','M',' ','O',' ',' ',' ','2','T',
             'U','V','W','X','Y','5','1','S','E',' ',
             'Z',' ',' ','8',' '};
char rev(char);

char rev(char c){
  if (isalpha(c)){
    return ch[c-'A'];//this line I don't know what it means.
  } else {
    return ch[c-'1'+26];//this line I don't know what it means.
  } 
}

```