結果

問題 No.3000 enuemu暗号
ユーザー mits58mits58
提出日時 2016-07-02 22:26:46
言語 Java21
(openjdk 21)
結果
WA  
実行時間 -
コード長 352 bytes
コンパイル時間 2,113 ms
コンパイル使用メモリ 74,184 KB
実行使用メモリ 54,340 KB
最終ジャッジ日時 2024-04-20 06:16:52
合計ジャッジ時間 2,981 ms
ジャッジサーバーID
(参考情報)
judge1 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 96 ms
52,784 KB
testcase_01 AC 106 ms
53,704 KB
testcase_02 WA -
testcase_03 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;

public class Main{
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		String str="cqimdrstfxyzbanopuvweghijk";
		while(sc.hasNext()){
			String s=sc.next();
			for(int i=0;i<s.length();i++){
				int a=s.charAt(i)-'a';
				System.out.print(str.charAt(a));
			}
			System.out.println();
		}
	}
}
0