This commit is contained in:
HuangHai
2025-08-30 18:35:01 +08:00
commit 1f397eca87
6258 changed files with 1487241 additions and 0 deletions

17
TangDou/XiTi/1090.cpp Normal file
View File

@@ -0,0 +1,17 @@
#include <bits/stdc++.h>
using namespace std;
int main() {
string s;
getline(cin, s);
for (int i = 0; i < s.length(); ++i) {
if ((s[i] >= 'a' && s[i] <= 'y') || (s[i] >= 'A' && s[i] <= 'Y')) {
cout << char(s[i] + 1);
} else if (s[i] == 'z' || s[i] == 'Z') {
cout << 'a';
} else cout << s[i];
}
return 0;
}