2011-06-17 13:03:06Morris
[JAVA] a009. 解碼器
/**********************************************************************************/
/* Problem: a009 "解碼器" from ACM 458 */
/* Language: JAVA */
/* Result: AC (96ms, 5462KB) on ZeroJudge */
/* Author: new1028 at 2011-06-17 10:22:07 */
/**********************************************************************************/
import java.util.Scanner;
public class a009 {
public static void main(String args[]) {
Scanner cin = new Scanner(System.in);
String s;
int a, L;
while(cin.hasNext()) {
s = cin.nextLine();
L = s.length();
for(a = 0; a < L; a++)
System.out.print((char)(s.charAt(a)-7));
System.out.println();
}
}
}
/* Problem: a009 "解碼器" from ACM 458 */
/* Language: JAVA */
/* Result: AC (96ms, 5462KB) on ZeroJudge */
/* Author: new1028 at 2011-06-17 10:22:07 */
/**********************************************************************************/
import java.util.Scanner;
public class a009 {
public static void main(String args[]) {
Scanner cin = new Scanner(System.in);
String s;
int a, L;
while(cin.hasNext()) {
s = cin.nextLine();
L = s.length();
for(a = 0; a < L; a++)
System.out.print((char)(s.charAt(a)-7));
System.out.println();
}
}
}