输入

OyEgTdkzLVxeKLJVUGbAtuSqvMUrDfTw

输出

pZfHuELAmwYFlmkwvhCbUVtRWnvSeGuX

代码

#include <stdio.h>
#include <stdlib.h>

int main(int argc, char *argv[]) {
    char str[] = "OyEgTdkzLVxeKLJVUGbAtuSqvMUrDfTw";
    int i;
    for (i=0;i<sizeof(str);i++) {
        if (str[i] == 0) continue;
        if (str[i] > 96) {
            str[i] -= 31;
        } else {
            str[i] += 33;
        }
        if (str[i] == 91) {
            str[i] = 'A';
        }
        if (str[i] == 123) {
            str[i] = 'a';
        }
    }
    printf("%s", str);
    return 0;
}