tj
2025-08-26 21:34:48
发布于:福建
0阅读
0回复
0点赞
#include <iostream>
#include <string>
using namespace std;
string str;
long long cnt = 0;
int main() {
getline(cin , str);
for(int i = 0 ; i < str . length() ; i++) {
if(str[i] >= 'a' && str[i] <= 'y') {
str[i] += 1;
}else if(str[i] == 'z') {
str[i] -= 25;
}
cnt++;
}
cout << str << endl;
return 0;
}
这里空空如也
有帮助,赞一个