后退

下载牛客APP
(填空题)
#include <cstdio>
char st[100];
int main( ) {
    scanf("%s", st);
    for (int i = 0; st[i]; ++i) {
        if ('A' <= st[i] && st[i] <= 'Z')
            st[i] += 1;
    }
    printf("%s\n", st);
    return 0;
}

输入:QuanGuoLianSai
输出: (1)
1/487
下一题 查看解析和讨论

牛客网©2016 All Rights Reserved