题库 信息学奥赛题库 题目列表 #include<cstdio> char st[100]; int&nbsp...
填空题
#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

输出:

题目信息
阅读程序 2018年 初赛
-
正确率
0
评论
78
点击