远古的密码-1

徐yz  •  1个月前


include

using namespace std;

int main() {

char a[301];
char x;
char i = 0;
char y;
while (1) {
	x = getchar();
	if (x == '\n') {
		break;
	}
	a[i] = x;
	i++;
}
for (int j = 0; j < 300; j++) {
	if (a[i] >= 'A' && a[i] <= 'Z' && a[i] >= 'a' && a[i] <= 'z') {
		y = a[i] + - 2;
		if (y > 'Z') {
			y = y - 26;
			printf("%s", a);
		}
	}
}
return 0;

} 求帮助!!! 怎么做???


Comments:

true


tiaya  •  1个月前

请先登录,才能进行评论