import java.io.*; import java.util.Arrays; public class Main { public static BufferedReader in = new BufferedReader(new InputStreamReader(System.in)); public static BufferedWriter out = new BufferedWriter(new OutputStreamWriter(System.out)); public static StreamTokenizer cin = new StreamTokenizer(new BufferedReader(new InputStreamReader(System.in))); public static PrintWriter cout = new PrintWriter(new OutputStreamWriter(System.out)); public static void main(String[] args) throws Exception { String s = in.readLine(); char[] c = s.toCharArray(); for (int i = 0; i < c.length; i++) { if (c[i] >= 'a' && c[i] <= 'y') { c[i]++; } else if (c[i] == 'z') { c[i] = 'a'; } } for (char t : c) { cout.print(t); } cout.flush(); } }
0.0分
0 人评分
分糖果 (C++代码)浏览:1537 |
【蟠桃记】 (C语言代码)浏览:697 |
简单的for循环浏览:1498 |
剪刀石头布 (C语言代码)浏览:1792 |
C语言程序设计教程(第三版)课后习题6.9 (C语言代码)浏览:761 |
1025题解浏览:796 |
1392题解(大数相加)浏览:640 |
简单的a+b (C语言代码)浏览:473 |
C语言程序设计教程(第三版)课后习题1.5 (C语言代码)浏览:521 |
2004年秋浙江省计算机等级考试二级C 编程题(2) (C语言描述——递归算法)浏览:1150 |